Then need explanation of what it actually is and what you really want -- if it is a grade for multiple exams, say, then probably (guessing here, we don't have enough info to really know) would want to add an any or all to the logical test to find those who passed all/failed any of the eight.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
3 Comments
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/644380-how-would-i-be-able-to-output-id-s-that-satisfied-an-if-statement#comment_1125910
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/644380-how-would-i-be-able-to-output-id-s-that-satisfied-an-if-statement#comment_1125910
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/644380-how-would-i-be-able-to-output-id-s-that-satisfied-an-if-statement#comment_1125940
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/644380-how-would-i-be-able-to-output-id-s-that-satisfied-an-if-statement#comment_1125940
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/644380-how-would-i-be-able-to-output-id-s-that-satisfied-an-if-statement#comment_1126558
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/644380-how-would-i-be-able-to-output-id-s-that-satisfied-an-if-statement#comment_1126558
Sign in to comment.