Info

This question is closed. Reopen it to edit or answer.

Assignment has more non-singleton rhs dimensions than non-singleton subscripts in loop matlab

1 view (last 30 days)
i want to record all the result each iteration with this
iteration = 10;
for z=1:iteration
[vacc1(z), vsen1(z), vspe1(z), vpre1(z), vfone1(z), a(z)] = or2densemble (data, class);
end
but,
I have this error
Assignment has more non-singleton rhs dimensions than non-singleton subscripts
Error in main (line 23)
[vacc1(z), vsen1(z), vspe1(z), vpre1(z), vfone1(z), a(z)] = or2densemble (data, class);
how to fix it?

Answers (0)

Community Treasure Hunt

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

Start Hunting!