How To Generate Sine Wave On Matlab With Program and Picture

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

ASSIGNMENT: LAB 1

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');

>> ylabel('Sine WAVE');

>> title('BY Muhammad Saad Imtiaz);

>> grid on;


ASSIGNMENT: LAB 1

Name: Muhammad Saad Imtiaz


14019019066
CONTROL SYSTEMS LAB

LAB 1

You might also like