Find minimum and maximum value from a matrix for a specific interval
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Chaudhary P Patel
le 20 Sep 2022
Commenté : Chaudhary P Patel
le 20 Sep 2022
I have a 30X100 size matrix, for which i want to find minimum and maximum value for row 2,5,8,11,14,17,20,23,27.
How can i find the minimum and maximu values from these rows.
0 commentaires
Réponse acceptée
Walter Roberson
le 20 Sep 2022
rows = [2,5,8,11,14,17,20,23,27];
[minima, maxima] = bounds(YourMatrix(rows,:), 2);
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!