how to write equation in matlab to find corresponding graph; equations are given in attached file

 採用された回答

Bastien Rouzé
Bastien Rouzé 2017 年 8 月 16 日

0 投票

You must define all your variables and a time array with a time step " dt ". Then you write R a variable using all constants defined and the time array. Finally, R and the time array should have the same size, so you could plot them using plot(time_array,R)...
for example :
dx = 0.1;
x = 0:dx:10;
cst = 5;
y = cos(x) + cst;
plot(x,y);

1 件のコメント

vinod kumawat
vinod kumawat 2018 年 9 月 23 日
How to write Sigma summation block in the script please?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Mathematics and Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by