How can I make a "percentage Loop"?

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 日

0 投票

Hint - the update formula is
Y(i)=Y(i-1)*X+100

カテゴリ

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

質問済み:

2013 年 5 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by