Hello, I have a bunch of code in which there are 2 for loops. I want to increase the speed and have just one for loop. here is the lines:
C(i) = delay(j);
To do so I did :
for i=length (bid)
But I get an error: In an assignment A(:)=:B, the number of elements in A and B must be the same.
Could any one tell me what is wrong here?
Also C in that loop changes the dimension on every loop iteration.