operands to the and && operators must be convertible to logical scalar
Mostrar comentarios más antiguos
why do I get this error? I used single & also,but got the same error.
for ind_x = 1:1000
for ind_y =1:800
[ind_x,ind_y] =find (inc >= 37.5 && inc < 38.5) && (lc == 3);
me = mean(radar(ind_x,ind_y));
end
end
Respuesta aceptada
Más respuestas (1)
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!