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 Exchange에서 Loops 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