Iterative function involving a change function

1 view (last 30 days)
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

Community Treasure Hunt

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

Start Hunting!