Remove 'Matrix dimensions must agree'

7 ビュー (過去 30 日間)
BC15
BC15 2017 年 12 月 8 日
回答済み: Star Strider 2017 年 12 月 8 日
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 日
The bsxfun (link) function may be able to help you.

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by