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!