is max built in functions

3 views (last 30 days)
gratata
gratata on 4 Nov 2019
Edited: John D'Errico on 4 Nov 2019
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.

Accepted Answer

John D'Errico
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.

More Answers (0)

Categories

Find more on Structures 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!