Numeric vs matrix array multiplication and division

조회 수: 4 (최근 30일)
Ngoc My Huynh
Ngoc My Huynh 2016년 12월 7일
답변: KSSV 2016년 12월 7일
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
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!
Ngoc My Huynh
Ngoc My Huynh 2016년 12월 7일
I've already read that and it's still not clear to me

댓글을 달려면 로그인하십시오.

채택된 답변

KSSV
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개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by