Page 1 of 1

The generated code extracts the diagonal of a matrix X and returns a vector. If the input X is supposed to be a vector,

Posted: Mon Mar 15, 2021 6:32 am
by fyousefi
The generated code extracts the diagonal of a matrix X and returns a vector. If the input X is supposed to be a vector, pass X(:) instead of X.




potentialDifferences