i want to plot these figures for different values of lambda_3,but matlab plot me just for one value can anyone tell me where is the problem here ?

 採用された回答

madhan ravi
madhan ravi 2019 年 5 月 11 日

0 投票

See the code attached with few comments inside.

5 件のコメント

diadalina
diadalina 2019 年 5 月 11 日
編集済み: madhan ravi 2019 年 5 月 11 日
thank you mr madhan ravi for your help but its plots to me just for the last value of lambda_3=0.6 , why ?
madhan ravi
madhan ravi 2019 年 5 月 11 日
I see all three except with an exception in figure(1) perhaps they overlie on top of each other so it’s not tangible.
diadalina
diadalina 2019 年 5 月 11 日
yes,it is my matlab problem, i want to ask you another question if it is possible, if i want to change two parametres in the same time and plot the figures in the same maner for example lambda3=0.1,sigma3=0.1, lambda3=0.4,sigma3=0.4,lambda3=0.6,sigma3=0.6,, how can i do it ?
madhan ravi
madhan ravi 2019 年 5 月 11 日
It goes the same way
for k = 1:3
ode45(@(t,Y) funsys(t,Y,lambda3(k),sigma3(k),...)
.... blah blah blah
diadalina
diadalina 2019 年 5 月 11 日
okey , thank you very much, i will try it .

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

その他の回答 (0 件)

カテゴリ

質問済み:

2019 年 5 月 11 日

コメント済み:

2019 年 5 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by