필터 지우기
필터 지우기

Matrix dimensions must agree.

조회 수: 2 (최근 30일)
Rohan Repale
Rohan Repale 2013년 3월 29일
How do I multiply a 2x101 matrix with a 101x101 matrix??
I tried everything, it gives me the above error every time.
Please help,
Thanks, Rohan

채택된 답변

Walter Roberson
Walter Roberson 2013년 3월 29일
>> A = rand(2,101); B = rand(101,101); size(A*B)
ans =
2 101
  댓글 수: 3
Rohan Repale
Rohan Repale 2013년 3월 29일
all I get in this case is 2 101
Rohan Repale
Rohan Repale 2013년 3월 29일
OK! got it, thnk u so much!!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by