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

Answers (1)

Walter Roberson
Walter Roberson on 14 Sep 2013
Hint: max accepts a dimension argument

This question is closed.

Asked:

on 14 Sep 2013

Community Treasure Hunt

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

Start Hunting!