is max built in functions

조회 수: 4 (최근 30일)
gratata
gratata 2019년 11월 4일
편집: John D'Errico 2019년 11월 4일
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일
Yes. max is definitely a built-in function. As such, use of it will have been (sadly) outlawed by your assignment.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by