How to fill array with previous values?
11 ビュー (過去 30 日間)
Hello guys I have data which contains 2 columns and 600 rows. It basically contains inputs u and outputs y. And my question is how can I fill array 3x1 as follows:
I know that I have to make loop but my loop which is below isn't correct and I don't know how to fix it. So can you please help me?
W(i) = y(n-i); %output
V(i) = u(n-i+1); %input
z = [V';W'];