How can I make a "percentage Loop"?

6 visualizaciones (últimos 30 días)
Marin
Marin el 14 de Mayo de 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

Respuestas (1)

Matt J
Matt J el 14 de Mayo de 2013
Editada: Matt J el 14 de Mayo de 2013
Hint - the update formula is
Y(i)=Y(i-1)*X+100

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by