how to read previous data
显示 更早的评论
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}?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!