detect row and column

1 view (last 30 days)
Abdul
Abdul on 20 Mar 2012
how to know value for minimum and maximum of row and column

Accepted Answer

Wayne King
Wayne King on 20 Mar 2012
X = randn(10,5);
min(X,[],1)
min(X,[],2)
max(X,[],1)
max(X,[],2)
  1 Comment
Wayne King
Wayne King on 20 Mar 2012
As the cyclist says, these syntaxes are documented

Sign in to comment.

More Answers (1)

the cyclist
the cyclist on 20 Mar 2012
Use the min() and max() functions.
More details available by reading "doc min" and "doc max".

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!