How can I add the solutions of xd as a matrix , I tried with xd1 , but it still give an error. and how can I make the new value as a initial value for the next st. x0 known and kmax =10. While the solution should be a matrix of 10 rows .. Thank you !

 採用された回答

Ammar, use
for k = 1:kmax
t1 = k*h;
xd(k) = modeu(Fdfpek,t1,x0,h);
x0 = xd(k);
end

その他の回答 (0 件)

カテゴリ

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

タグ

質問済み:

2014 年 3 月 27 日

回答済み:

2014 年 3 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by