Axis command in MATLAB
%Matlab code for Unit Impulse
close all;
clc;
n=-20:20;
x_n=n==0;
stem(n,x_n);
axis([-100 100 -4 4]) %First x-axis then y-axis
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