Hi everyone,
I am a bit lost,
I ran a code this morning and the pre allocation do not work, it changes the size of my matrices with any reason,
So I did a small try like this :
n=3x = zeros(1,n); for ii=1:10 x( ii ) = ( ii );end%
Before I got an error because the size just exceeds… now it works, it changes the size of x, how to avoid that ?
Best regards,
Best Answer