Info
This question is closed. Reopen it to edit or answer.
Hie, how can i solve this error, "Index exceeds matrix dimensions"
1 view (last 30 days)
Show older comments
The code is as below;
repelem = {};
for ii = 1:numel(subset)
subsetLabels(ii) = repelem((subset(ii).Description),subset(ii).Count,1);
end
Then the error is;
Index exceeds matrix dimensions.
Error in SignLive (line 19)
subsetLabels(ii) = repelem((subset(ii).Description),subset(ii).Count,1);
THANK YOU IN ADVANCE FOR YOUR UNWAVERING SUPPORT AND HELP.
5 Comments
KSSV
on 16 Jun 2020
repelem is a inbuilt function.....you are not supposed to use like that. What version you are using?
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!