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

Respuestas (1)

Walter Roberson
Walter Roberson el 14 de Sept. de 2013

0 votos

Hint: max accepts a dimension argument

La pregunta está cerrada.

Preguntada:

el 14 de Sept. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by