フィルターのクリア

how to draw periodic functions in MATLAB

3 ビュー (過去 30 日間)
Junkai Gong
Junkai Gong 2017 年 5 月 21 日
回答済み: Sangeetha Jayaprakash 2017 年 5 月 23 日
How can I draw g(t)=|t| for t [-1,1], with g(t)=g(t+2) (with period T=2)

回答 (1 件)

Sangeetha Jayaprakash
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)

カテゴリ

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