Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Subscript Indices must be either real positive or logicals

4 visualizaciones (últimos 30 días)
Asghar Ali
Asghar Ali el 13 de Mzo. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I am getting above error in following code:
sets =ones(numel(fonts), numel(chars));
sets(end-349:end,:) = 2 ;
  1 comentario
Jeff
Jeff el 13 de Mzo. de 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

Respuestas (1)

Star Strider
Star Strider el 13 de Mzo. de 2017
What is the output when you run:
sets_size = size(sets)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by