Things were going so well and my opinion of matlab was beginning to change!
I was thinking how handy and good the GUI was when manipulating arrays.
All I can say is that there’s a fucking reason EVERY other programming language addresses the first element of an array as 0! It makes nested for loops to allocate both space and variables much more intuitive.
Now my code has to have some ‘orrible looking conditional statements to subtract a fucking 1.
Fuck you mathworks, sincerely a pissed off engineer.