If the signal does not repeat at regular intervals of time is called aperiodic signal.
Let us consider an example for square wave in matlab.
clc;
clear all;
close all;
t=0:0.002:0.1;
y=square(2*pi*50*t);
figure;
subplot(1,2,1);
plot(t,y);
axis([0 0.1 -2 2]);
xlabel(‘time’);
ylabel(‘amplitude’);
title(‘square wave signal’);
%generation of square wave sequence
subplot(1,2,2);
stem(t,y);
axis([0 0.1 -2 2]);
xlabel(‘n’);
ylabel(‘amplitude’);
title(‘square wave sequence’);
Let us consider an example of sawtooth wave in matlab.
clc;
clear all;
close all;
%generation of sawtooth signal
t=0:0.002:0.1;
y=sawtooth(2*pi*50*t);
subplot(1,2,1);
plot(t,y);
axis([0 0.1 -2 2]);
xlabel(‘time’);
ylabel(‘amplitude’);
title(‘sawtooth wave signal’);
%generation of sawtooth sequence
subplot(1,2,2);
stem(t,y);
axis([0 0.1 -2 2]);
xlabel(‘n’);
ylabel(‘amplitude’);
title(‘sawtooth wave sequence’);
Let us consider an example of triangular wave in matlab.
clc;
clear all;
close all;
%generation of triangular wave signal
t=0:0.002:0.1;
y=sawtooth(2*pi*50*t,.5);
figure;
subplot(2,2,1);
plot(t,y);
axis([0 0.1 -2 2]);
xlabel(‘time’);
ylabel(‘amplitude’);
title(‘ triangular wave signal’);
%generation of triangular wave sequence
subplot(2,2,2);
stem(t,y);
axis([0 0.1 -2 2]);
xlabel(‘n’);
ylabel(‘amplitude’);
title(‘triangular wave sequence’);
Google released a spam update on 26th of August 2025 and this is affecting a…
Google keeps on testing google search display all the time and this time we are…
In wordpress if you are developing new or custom wordpress theme or wordpress plugin then…
If you are experiencing indexing issues of your website then you are not alone and…
On your wordpress website if you want to generate qr code for pages and posts…
If you are trying to verify your WordPress website with google search console with html…