Plot a simple sinusoid of amplitude

Plot a simple sinusoid of amplitude 1 and frequency f=1 for 0<t<1
ie. y= sin(2*pi*f*t)

2 commentaires

Like this?
t = linspace(0,1);
f = 1; % [Hz]
y= sin(2*pi*f*t);
plot(t,y)
Braden Canales
Braden Canales le 30 Sep 2020
Thank you, Akira Agata. I am forever indebted to you.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by