How can I make a "percentage Loop"?

1 次查看(过去 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 CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by