Use of while 1 to calculate current and previous itration

I want to calculate next itration and previous itration to satisfy the condition given in image. Kindly guide how to code this.

3 Comments

Hi there. I do not see any image here.
sorry it is now uploaded thanks
Show us your current code and ask a specific question.

Sign in to comment.

Answers (0)

Categories

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

Asked:

on 9 Apr 2021

Commented:

on 9 Apr 2021

Community Treasure Hunt

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

Start Hunting!