How do I enter f(x) = sin((π/2) x) + sin((2/5)πx) over the interval [0,40]

1 回表示 (過去 30 日間)
Jessica Guadagno
Jessica Guadagno 2021 年 9 月 21 日
回答済み: KSSV 2021 年 9 月 21 日
How do I enter this into matlab

回答 (1 件)

KSSV
KSSV 2021 年 9 月 21 日
x = linspace(0,40,100) ;
f = sin(pi/2*x)+sin(2/5*pi*x) ;
plot(x,f)

カテゴリ

Help Center および File ExchangeDirected Graphs についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by