maximum value in a 3d matrix

write a MATLAB script that finds the maximum value and its M and N indexes in each of the P pages. (i.e. the max on EACH of the pages, not the single max among all the pages. You will find P maxima and P pairs of indexes.
This is a 3d matrix (m*n*p) and i want to find the maximum value on each "page", as well as its m by n indexes on each page. can anyone please help?
i would also like to plot m*n of the maximum value p found on each page

답변 (1개)

Walter Roberson
Walter Roberson 2013년 9월 14일

0 개 추천

Hint: max accepts a dimension argument

이 질문은 마감되었습니다.

질문:

2013년 9월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by