Remove 'Matrix dimensions must agree'

NAOI_tr=NAOI-Trend; matrix dimensions must agree.

댓글 수: 1

Adam
Adam 2017년 12월 8일
What about it? How do you seriously expect any help when you give no information on anything?!
NAOI and Trend clearly have incompatible dimensions. Make them have the same dimensions and the error will be removed. How you do that in your particular case I have no idea.
Use the debugger to find out what size they are.

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

답변 (1개)

Star Strider
Star Strider 2017년 12월 8일

0 개 추천

The bsxfun (link) function may be able to help you.

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

질문:

2017년 12월 8일

답변:

2017년 12월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by