Clear Filters
Clear Filters

Plot a simple sinusoid of amplitude

1 view (last 30 days)
Shamala Nagarajoo
Shamala Nagarajoo on 5 Dec 2017
Commented: Braden Canales on 30 Sep 2020
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
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
Braden Canales on 30 Sep 2020
Thank you, Akira Agata. I am forever indebted to you.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!