i started off with simple programs and i will keep posting them...any queries and suggestions are always welcome :)
this is the first programming i did-unit sample sequence
this is the first programming i did-unit sample sequence
pretty easy...
function uss1()
N=input('enter the sampling frequency = ');
l=input('enter the length of the sequence = ');
Ts=1/N;
x(1)=ones;
for n=2:l
x(n)=zeros;
end
n=0:l-1;
stem(n*Ts,x,'fill');
title('unit sample sequence');
xlabel('time in secs');
ylabel('amplitude');
there r a lot more ways of doing this programming...thanks for reading :)
PLEASE LEAVE A COMMENT :)
PLEASE LEAVE A COMMENT :)
0 comments:
Post a Comment