Discrete Time and Continuous Time Unit Impulse Function | In MATLAB | CODE


Write the codes for Discrete Time and Continuous Time Unit Impulse Function.

source  code

u=[zeros(1,4) ones(1,1) zeros(1,5)];

plot(u)

title('Lab 4')

legend(' Impulse Function')

 stem (u)

title('Lab 4')

legend(' Impulse Function')

Result:










Post a Comment

0 Comments