Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Subscript Indices must be either real positive or logicals
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I am getting above error in following code:
sets =ones(numel(fonts), numel(chars));
sets(end-349:end,:) = 2 ;
1 Commento
Jeff
il 13 Mar 2017
I think you need to attach or include your indices files in a .mat file to facilitate diagnosis. My guess if you look at either end, fonts, or chars one of them are not either + integers or logicals.
Only a guess without all of the info
Risposte (1)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!