How can I make a "percentage Loop"?

1 visualizzazione (ultimi 30 giorni)
Marin
Marin il 14 Mag 2013
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

Risposte (1)

Matt J
Matt J il 14 Mag 2013
Modificato: Matt J il 14 Mag 2013
Hint - the update formula is
Y(i)=Y(i-1)*X+100

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by