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 :
x = zeros(1,n);
x( ii ) = ( ii );
Before I got an error because the size just exceeds... now it works, it changes the size of x, how to avoid that ?