Azzera filtri
Azzera filtri

find the minimum of a matrix

3 visualizzazioni (ultimi 30 giorni)
dav
dav il 13 Lug 2014
Commentato: dav il 13 Lug 2014
Hi,
Can someone please help me to find the row number corresponding to the minimum value of the jth column of a matrix?
thanks.

Risposta accettata

James Tursa
James Tursa il 13 Lug 2014
[val idx] = min(X(:,j));
idx will be the row number.

Più risposte (0)

Categorie

Scopri di più su Data Types in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by