フィルターのクリア

I am very new to Matlab and I am trying to graph y'=ky, y(0) = A. Can anyone assist?

1 回表示 (過去 30 日間)
JB
JB 2018 年 6 月 24 日
コメント済み: JB 2018 年 6 月 30 日
I am very new to Matlab and I am trying to graph y'=ky, y(0) = A.
Can anyone assist?

採用された回答

Walter Roberson
Walter Roberson 2018 年 6 月 24 日
syms y(t) k A
Y = dsolve(diff(y)==k*y,y(0)==A);
YY = subs(Y, [A,k], [randn()*50,randn()/2]);
fplot(YY, [-10 10])
  4 件のコメント
JB
JB 2018 年 6 月 30 日
For anyone reviewing this question and would like to get the latest update installation please visit the link here:
V/R jb
JB
JB 2018 年 6 月 30 日
@Steven_Lord: The recent update worked well.
@Walter_Roberson: Your code worked perfectly after I installed the latest update.
Thank you both. V/R jb

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by