lovepiano25
Bioengineer
- Feb 24, 2012
- 1
xi = zeros(1024*655,2)
counter= 1
for y = 1:1:655
for x = 1:1:1024
xi[counter,1] = x
xi[counter,2] = y
counter= counter+1
end
end
There two syntax are indicated as an error in matlab : xi[counter,1] = x; xi[counter,2] = y
Can someone please help me correct this syntax? I am trying to recalculate at different points.
Thank you
counter= 1
for y = 1:1:655
for x = 1:1:1024
xi[counter,1] = x
xi[counter,2] = y
counter= counter+1
end
end
There two syntax are indicated as an error in matlab : xi[counter,1] = x; xi[counter,2] = y
Can someone please help me correct this syntax? I am trying to recalculate at different points.
Thank you