Matlab plot command function
3 ビュー (過去 30 日間)
古いコメントを表示
Plot out the function y(t) = A cos(xt + s(t)), where A = 1, x = 2 and s(t) = -2sin(t) over 0 to 40 sec in increments of 0.05 sec. ver
0 件のコメント
回答 (1 件)
Image Analyst
2021 年 6 月 24 日
編集済み: Image Analyst
2021 年 6 月 24 日
Why? Why me? Why can't you do it just using
t=0:.05:40
and the plot() function?
s = -2 * etc.
y = A * cos(etc.
plot(t, y, 'b-');
Sounds like homework and something simple enough for you to do.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!