Professional Documents
Culture Documents
How To Generate Sine Wave On Matlab With Program and Picture
How To Generate Sine Wave On Matlab With Program and Picture
How To Generate Sine Wave On Matlab With Program and Picture
ASSIGNMENT: LAB 1
PROGRAM
>> t=0:0.001:10;
>> f=10
f=
10
>> a=10;
>> y=a*sin(2*pi*f*t);
>> plot(t,y,'r');
>> xlabel('TIME');
LAB 1