confusing regarding two cases of multiplication in MATLAB?
Show older comments
I know that in MATLAB,we use ".*" and"*" for multiplication of matrices
But when one should use only "*" and when one should also use dot with asterik ".*" ??
Please kindly explain with examples
Especially if one operand is a scalar or 1X1 matrix and 2nd matrix is a row vector or column vector? In that case ,only asterik"*" will be sufficent?
Accepted Answer
More Answers (1)
Steven Lord
on 16 Feb 2020
0 votes
See this documentation page for a discussion of the difference between array operations and matrix operations, including examples showing what each does.
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!