Clc
4
MIS No.141305012 Name:-Bhamare Kishor D. Batch:-D 1) Program to Create Unit Impulse Signal in Matlab clc; clear all; t=-20:0.01:20; f=zeros(1,4001); for i=1:4001; if (t(i)==0) f(i)=1; else f(i)=0; end; end; plot(t,f);
-
Upload
kishor-bhamare -
Category
Documents
-
view
212 -
download
0
description
df
Transcript of Clc
MIS No.141305012Name:-Bhamare Kishor D.Batch:-D1) Program to Create Unit Impulse Signal in Matlabclc;clear all;t=-20:0.01:20;f=zeros(1,4001);for i=1:4001; if (t(i)==0) f(i)=1; else f(i)=0; end; end;plot(t,f);
Program to Create Unit Step Signal in Matlabclc;clear all;t=-20:0.01:20;f=zeros(1,4001);for i=1:4001; if (t(i)>0) f(i)=1; else f(i)=0; end;end;plot(t,f);
Program to Create Ramp Signal in Matlabclc;clear all;t=-20:0.01:20;f=zeros(1,4001);for i=1:4001; if (t(i)