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 view (last 30 days)
repelem = {};
for ii = 1:numel(subset)
subsetLabels{ii} = repelem{{subset(ii).Description},subset(ii).Count,1};
end
subsetLabels = vertcat(subsetLabels{:});
togglefig('Sample Images',1)

Accepted Answer

madhan ravi
madhan ravi on 16 Jun 2020
{} -> ()
  2 Comments
Talent Mukaro
Talent Mukaro on 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);

Sign in to comment.

More Answers (0)

Categories

Find more on Cell Arrays in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!