How to draw sine wave in Matlab 7.0

image_pdfimage_print

Coding for sine wave in Matlab


t=0:0.001:1;
y=sin(2*5*pi*t)
plot(t,y)
Sine wave
 alt=

This entry was posted in Matlab. Bookmark the permalink.