Remove 'Matrix dimensions must agree'

9 Ansichten (letzte 30 Tage)
BC15
BC15 am 8 Dez. 2017
Beantwortet: Star Strider am 8 Dez. 2017
NAOI_tr=NAOI-Trend; matrix dimensions must agree.
  1 Kommentar
Adam
Adam am 8 Dez. 2017
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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Star Strider
Star Strider am 8 Dez. 2017
The bsxfun (link) function may be able to help you.

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by