Matlab help with coding
Show older comments
What would be the code to compute the maximum value of column 1 that is less than 200?
The numbers are
1 5 600
2 5 155
8 5 234
3 5 100
1 Comment
John D'Errico
on 10 Oct 2019
What have you tried? If nothing why not? For example, a loop with a test inside would suffice. Or you could do better, by first using a vectorized test to identify all elements less than 200, and THEN using max. So why not show what you would try, as this is a quite basic question.
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with 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!