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

Post Reply
fyousefi
Posts: 3284
Joined: Thu Feb 25, 2021 4:49 pm
Contact:

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

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests