find the minimum value
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
i have a matrix A with double class type data. i have to find the minimum value of matrix, the problem is the min function on matlab require integer data. is there matlab function to find minimum value on double class type data or function conversion between double to integer so min function can use ?
0 commentaires
Réponse acceptée
Azzi Abdelmalek
le 10 Fév 2013
Modifié(e) : Azzi Abdelmalek
le 10 Fév 2013
A=magic(5) % Example
out=min(A(:))
% No, min function don't allow just inetger
help min
7 commentaires
Azzi Abdelmalek
le 11 Fév 2013
Please, post correctly your question. Post a sample of your data, then ask clearly what you want.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!