How can I make a "percentage Loop"?

4 ビュー (過去 30 日間)
Marin
Marin 2013 年 5 月 14 日
Hello I'm just starting to work with matlab and i would like to well make a "Percentage loop". so for example is I typ: percentage(X) the program would do X*100+100, (X*100+100)*X+100,... Thanks for your help

回答 (1 件)

Matt J
Matt J 2013 年 5 月 14 日
編集済み: Matt J 2013 年 5 月 14 日
Hint - the update formula is
Y(i)=Y(i-1)*X+100

カテゴリ

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