M.Shobana
Member level 1
hai
I want to assign values in the circular manner in matlab
for example:
for x = 1:N
data(x) = 1;
data(x+1) = 2;
data(x+2) = 3;
end
but this is not working when the value of x is equal to 2.
I want to store value in the 'data' like data(1) = 1,data(2) = 2,data(3) = 3,data(4) = 1 ,data(5) = 2 .........data(N)
If anybody knows please help me
I want to assign values in the circular manner in matlab
for example:
for x = 1:N
data(x) = 1;
data(x+1) = 2;
data(x+2) = 3;
end
but this is not working when the value of x is equal to 2.
I want to store value in the 'data' like data(1) = 1,data(2) = 2,data(3) = 3,data(4) = 1 ,data(5) = 2 .........data(N)
If anybody knows please help me