Numeric vs matrix array multiplication and division
6 次查看(过去 30 天)
显示 更早的评论
In what case do you use ./ or .* to multiply two arrays vs / and * alone? I'm confused about these two questions below, can someone answer the two questions below and explain?

2 个评论
Jiro Doke
2016-12-7
Perhaps start with doing a little bit of reading in the documentation:
This is a fundamental concept in MATLAB, and there are lots of related pages in the DOC.
Good luck!
采纳的回答
KSSV
2016-12-7
\ this is mldivide. solves the system of linear equations A*x = B.
/ this is mrdivide. perform right-matrix division, which is same as A*inv(B)
./ this is element by element division.
/. or ./. there are no such operators in MATLAB.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!