what do i use instead of &&

5 views (last 30 days)
Eris Rusnac
Eris Rusnac on 6 Apr 2021
Commented: Cris LaPierre on 6 Apr 2021
  2 Comments
Rik
Rik on 6 Apr 2021
If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks).
Cris LaPierre
Cris LaPierre on 6 Apr 2021
Agreed. Chs 5 and 12 in particular.

Sign in to comment.

Answers (1)

Kojiro Saito
Kojiro Saito on 6 Apr 2021
Possibly,
ABOVE_AVG = Gradess(Grades{:,2} >= a & Grades{:,2} >= b, :)
  1 Comment
Cris LaPierre
Cris LaPierre on 6 Apr 2021
I suspect the curly braces are incorrect as well. Just use parentheses.

Sign in to comment.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!