how to draw periodic functions in MATLAB
2 ビュー (過去 30 日間)
古いコメントを表示
How can I draw g(t)=|t| for t [-1,1], with g(t)=g(t+2) (with period T=2)
0 件のコメント
回答 (1 件)
Sangeetha Jayaprakash
2017 年 5 月 23 日
You can use the plot function to draw in MATLAB as described in this link:
You can plot the function g(t) as follows:
t = -1:0.01:1; %this gives 201 points
g = abs(t);
plot(t,g)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!