Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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?

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by