how to read previous data
Show older comments
Hi,
Assume that I have to use 'for loop' iterations, i = 1: n and I want to calculate a function called 'alpha' as shown below.

My problem is, how I am going to write the MATLAB code for this function especially how to extract the last 2 previous value of alpha (alpha_{i-2}?
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB 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!