I am very new to Matlab and I am trying to graph y'=ky, y(0) = A. Can anyone assist?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I am very new to Matlab and I am trying to graph y'=ky, y(0) = A.
Can anyone assist?
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 24 Jun. 2018
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!