Plotting quadratic f(t) = t^3
4 ビュー (過去 30 日間)
古いコメントを表示
Mxolisi Mathonsi
2018 年 10 月 5 日
回答済み: Sebastian Castro
2018 年 10 月 7 日
Hi
How can I plot a f(t)=t^3 when with a period of -pi<=t<pi.
Over the time interval of -2pi<=t<=2pi.
0 件のコメント
採用された回答
Sebastian Castro
2018 年 10 月 7 日
Yes.
% 1001 samples from -2pi to 2pi
t = linspace(-2*pi, 2*pi, 1001);
% Element-wise multiplication
f = t.^3;
% Plot
plot(t,f)
- Sebastian
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Animation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!