Error using > Too many input arguments.

1 view (last 30 days)
ali Jalil
ali Jalil on 9 Aug 2016
Commented: Stephen23 on 10 Aug 2016
Error using > Too many input arguments.
MeanI = find(( s.MeanIntensity>154) & (s.MeanIntensity <243 ) & (s.Perimeter>100) & (s.Area>500));
  1 Comment
Stephen23
Stephen23 on 10 Aug 2016
Most likely s is a non-scalar structure, and so s.MeanIntensity is a comma separated list.
Tell us what this prints:
size(s.MeanIntensity)

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 9 Aug 2016
MeanI = find(( [s.MeanIntensity]>154) & ([s.MeanIntensity] <243 ) & ([s.Perimeter]>100) & ([s.Area]>500));

Community Treasure Hunt

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

Start Hunting!