Plot a simple sinusoid of amplitude
Show older comments
Plot a simple sinusoid of amplitude 1 and frequency f=1 for 0<t<1
ie. y= sin(2*pi*f*t)
2 Comments
Akira Agata
on 11 Dec 2017
Like this?
t = linspace(0,1);
f = 1; % [Hz]
y= sin(2*pi*f*t);
plot(t,y)
Braden Canales
on 30 Sep 2020
Thank you, Akira Agata. I am forever indebted to you.
Answers (0)
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!