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.

 Risposta accettata

John D'Errico
John D'Errico il 4 Nov 2019
Modificato: John D'Errico il 4 Nov 2019

0 voti

Yes. max is definitely a built-in function. As such, use of it will have been (sadly) outlawed by your assignment.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by