detect row and column

 Akzeptierte Antwort

Wayne King
Wayne King am 20 Mär. 2012

0 Stimmen

X = randn(10,5);
min(X,[],1)
min(X,[],2)
max(X,[],1)
max(X,[],2)

1 Kommentar

Wayne King
Wayne King am 20 Mär. 2012
As the cyclist says, these syntaxes are documented

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

the cyclist
the cyclist am 20 Mär. 2012

0 Stimmen

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