Best practices - initialize a matrix

Oh yes, thank you. I forgot to use the end command and the colon :.

So, if I want to use the spzeros() function it’s only in the case that you have a lot of zeros in the matrix. Ok!

Appreciate the help, thank you :slight_smile: