Dear experts,
how do I get the mode of a 3D array with dim [51 75 55]. It can only contain numbers from 0:12 and I'm not interested in the zeros.

 채택된 답변

Matt J
Matt J 2018년 4월 25일

1 개 추천

mode(nonzeros(yourArray)),

댓글 수: 2

Gülizar Kaya
Gülizar Kaya 2018년 4월 25일
Thanks :)
Matt J
Matt J 2018년 4월 25일
You're welcome, but please Accept-click the answer to certify that it addressed your question.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

질문:

2018년 4월 25일

댓글:

2018년 4월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by