フィルターのクリア

plugging back a solution to obtain new soultion

2 ビュー (過去 30 日間)
Maryal
Maryal 2017 年 11 月 29 日
回答済み: Star Strider 2017 年 11 月 29 日
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

採用された回答

Star Strider
Star Strider 2017 年 11 月 29 日
Yes. Use a loop.
Example
x = 2;
for k1 = 1:5
y = x^2
x = y;
end

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by