is max built in functions

4 visualizaciones (últimos 30 días)
gratata
gratata el 4 de Nov. de 2019
Editada: John D'Errico el 4 de Nov. de 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.

Respuesta aceptada

John D'Errico
John D'Errico el 4 de Nov. de 2019
Editada: John D'Errico el 4 de Nov. de 2019
Yes. max is definitely a built-in function. As such, use of it will have been (sadly) outlawed by your assignment.

Más respuestas (0)

Categorías

Más información sobre Structures en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by