Iterative function involving a change function

Hello. How can I use matlab for an iterative function. For example, x(initial)=5,x(final)=x+1, F(x)=x(initial)-x(final), while F(x) is less than a given number. Thank you

Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Asked:

on 20 May 2018

Commented:

Rik
on 20 May 2018

Community Treasure Hunt

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

Start Hunting!