replace minimum value of each column with nan
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Leela Sai Krishna
il 18 Mar 2019
Commentato: madhan ravi
il 18 Mar 2019
i have a 10*10 matrix.
How to replace the minimum value from each column with nans.
ex; [10,5
2,8
8,1];
the desired out put should be like
[10,5
nan,8
8,nan];
thanks
0 Commenti
Risposta accettata
madhan ravi
il 18 Mar 2019
Modificato: madhan ravi
il 18 Mar 2019
M(M==min(M))=nan % where M is your matrix
Più risposte (0)
Vedere anche
Categorie
Scopri di più su NaNs 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!