Graphing specific function over time

8 vues (au cours des 30 derniers jours)
William Haskins
William Haskins le 10 Mar 2023
How can I graph the function da=0.5+0.425*sin((2*pi*60)*t) and vary t from 0 to 10 seconds?

Réponse acceptée

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

Plus de réponses (1)

Walter Roberson
Walter Roberson le 10 Mar 2023
da = @(t)0.5+0.425*sin((2*pi*60)*t);
fplot(da, [0 10])

Communautés

Plus de réponses dans  Power Electronics Control

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by