Realization of a periodic Signal in MATLAB(Difference between stem and plot command)
close all
clc;
n=-20:20;
x_n=cos(3*pi*n/7);
subplot(2,1,1);
stem(n,x_n);
subplot(2,1,2);
plot(n,x_n);
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