plugging back a solution to obtain new soultion
2 ビュー (過去 30 日間)
古いコメントを表示
Is there a way in I could write a code in which I use a function to obtain a solution then plug that solution back into the function to obtain a new solution
0 件のコメント
採用された回答
Star Strider
2017 年 11 月 29 日
Yes. Use a loop.
Example —
x = 2;
for k1 = 1:5
y = x^2
x = y;
end
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!