is max built in functions
3 views (last 30 days)
Show older comments
I have an assignment in which I find max element in 2d array called X. The assignment instructions explicitly state to not use any built in functions. I used max(X) which worked. Now my question here is max built in function or do I have to iterate through array myself? I just wanna be sure i follow instructions.
0 Comments
Accepted Answer
John D'Errico
on 4 Nov 2019
Edited: John D'Errico
on 4 Nov 2019
Yes. max is definitely a built-in function. As such, use of it will have been (sadly) outlawed by your assignment.
0 Comments
More Answers (0)
See Also
Categories
Find more on Structures 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!