I am very new to Matlab and I am trying to graph y'=ky, y(0) = A. Can anyone assist?
1 回表示 (過去 30 日間)
古いコメントを表示
I am very new to Matlab and I am trying to graph y'=ky, y(0) = A.
Can anyone assist?
0 件のコメント
採用された回答
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])
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!