Numerical questions on Digital Signal Processing | M-file
%Matlab questions on Digital Signal Processing
close all;
clc;
n=-5:5;
x_n1=n==-2;
x_n2=n==4;
y_n=2*x_n1-x_n2;
stem(n,y_n);
xlabel('Time
Sample');
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