Graphing specific function over time

8 ビュー (過去 30 日間)
William Haskins
William Haskins 2023 年 3 月 10 日
回答済み: Walter Roberson 2023 年 3 月 10 日
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])

コミュニティ

カテゴリ

Help Center および File Exchange2-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