Graphing specific function over time

How can I graph the function da=0.5+0.425*sin((2*pi*60)*t) and vary t from 0 to 10 seconds?

 Risposta accettata

t = linspace(0,10,100);
da = 0.5+0.425*sin(2*pi*60*t);
plot(t,da)

Più risposte (1)

Community

Più risposte nel  Power Electronics Control

Categorie

Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by