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’);
Hisense Google TV Storage Space Running Out: Why it Happens and How to Fix It…
Introduction: "Setting up a soundbar with your Samsung TV should be simple, but the HDMI…
User Problem Scenario: The Red Light "Panic" You press the power button on your Samsung…
Introduction: I Know the Feeling "We’ve all been there. You sit down to watch your…
User Problem Scenario: The "Diagnosis Loop" Paradox Imagine you notice your apps are slow. You…
🎓 Technical Module: Memory Maintenance Logic Module: WV-OS-307 Verified 2026 👨🏫 Instructor: Vangari Divya (M.Tech)…