Filter löschen
Filter löschen

Hie there, how do i remove this error "Matrix indices must be full double. Error in SignLive (line 19) subsetLabels{ii} = repelem{{s​ubset(ii).​Descriptio​n},subset(​ii).Count,​1};"

1 Ansicht (letzte 30 Tage)
repelem = {};
for ii = 1:numel(subset)
subsetLabels{ii} = repelem{{subset(ii).Description},subset(ii).Count,1};
end
subsetLabels = vertcat(subsetLabels{:});
togglefig('Sample Images',1)

Akzeptierte Antwort

madhan ravi
madhan ravi am 16 Jun. 2020
{} -> ()
  2 Kommentare
Talent Mukaro
Talent Mukaro am 16 Jun. 2020
Madhan are you implying that i have to replace all {} by () or im lost?
Talent Mukaro
Talent Mukaro am 16 Jun. 2020
Hey, i did what you said, see the new error bellow;
Index exceeds matrix dimensions.
Error in SignLive (line 19)
subsetLabels{ii} = repelem((subset(ii).Description),subset(ii).Count,1);

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Cell Arrays finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by