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.

 采纳的回答

John D'Errico
John D'Errico 2019-11-4
编辑:John D'Errico 2019-11-4

0 个投票

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

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by