what do i use instead of &&

2 Comments

If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks).
Agreed. Chs 5 and 12 in particular.

Sign in to comment.

Answers (1)

Possibly,
ABOVE_AVG = Gradess(Grades{:,2} >= a & Grades{:,2} >= b, :)

1 Comment

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

Asked:

on 6 Apr 2021

Commented:

on 6 Apr 2021

Community Treasure Hunt

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

Start Hunting!