Graphing specific function over time

3 次查看(过去 30 天)
How can I graph the function da=0.5+0.425*sin((2*pi*60)*t) and vary t from 0 to 10 seconds?

采纳的回答

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

更多回答(1 个)

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

社区

更多回答在  Power Electronics Control

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by