![]() ![]() The size requirement for the operands is that for each dimension, the arrays must either have the same size or one of them is 1. ![]() "Matrix differential calculus with applications in the multivariate linear model and its diagnostics". Even though A is a 7-by-3 matrix and mean(A) is a 1-by-3 vector, MATLAB implicitly expands the vector as if it had the same size as the matrix, and the operation executes as a normal element-wise minus operation.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |