detect row and column

 Risposta accettata

Wayne King
Wayne King il 20 Mar 2012
X = randn(10,5);
min(X,[],1)
min(X,[],2)
max(X,[],1)
max(X,[],2)

1 Commento

Wayne King
Wayne King il 20 Mar 2012
As the cyclist says, these syntaxes are documented

Accedi per commentare.

Più risposte (1)

the cyclist
the cyclist il 20 Mar 2012

0 voti

Use the min() and max() functions.
More details available by reading "doc min" and "doc max".

Community Treasure Hunt

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

Start Hunting!

Translated by