how to find the smallest length filled with numbers
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Dinouk Goonewardena
il 26 Mar 2020
Commentato: Dinouk Goonewardena
il 26 Mar 2020
I need to find the column with the least amount of digits e.g 5 rows in the case below
0 Commenti
Risposta accettata
Peng Li
il 26 Mar 2020
[~, indCol] = min(sum(~isnan(yourArray), 1));
indCol is the index for the column you need.
4 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Loops and Conditional Statements 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!