Impact-Site-Verification: dbe48ff9-4514-40fe-8cc0-70131430799e

Search This Blog

Matlab code for Unit Impulse (Method 3) and unit step signal

%Matlab code for Unit Impulse
close all;
clc;
n=-20:20;
x_n=n==0;
stem(n,x_n);
xlabel('time samples');
ylabel('Amplitude');

%Matlab code for Unit step
close all;
clc;
n=-20:20;
x_n=n>=0;
stem(n,x_n);
xlabel('time samples');

ylabel('Amplitude');


Please follow us:
https://www.facebook.com/matlabcodes

Join us on Telegram:
https://t.me/matlabirawen 

Join us on Facebook Group:
https://www.facebook.com/groups/matlabcodes


No comments

Popular Posts

Followers