operands to the and && operators must be convertible to logical scalar
Show older comments
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
Accepted Answer
More Answers (1)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!