Pathhacker

0 80 0
Matlab code for generation of unit step function
%-------------unit step response----------------
clc
clear all
a=input('Enter the desired length of the sequence=');
b=input('Enter the sampling=');
x=0:a-1;
y=cos(2*pi*b*x);
stem(x,y);
xlabel('Time index');
ylabel('Amplitude');
title('Generation of unit step sequence'); 

Tags

Matlab code for Generation of unit impulse sequence %---------Generation of unit impulse sequence---------------- clc clear all a=input('Enter desired…
by divyasri
0 85 0
Matlab code for generation of exponential function %--------------exponen_seqence------------------ clc clear all n=1:100 x2=exp(-n); subplot(2,2,3); stem(n,x2); xlabel('n'); ylabel('x2(n)');…
by divyasri
0 71 0
Matlab code for sampling signal %-------sampling------- clc clear all T=0.1;t=0:0.05/200:T; x=cos(200*pi*t); subplot(2,2,1); plot(t,x); title('original input…
by divyasri
0 50 0
Your nameYour emailYour text

Leave a Reply

Log in
Register
Send message