find the minimum value
8 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Azzi Abdelmalek
2013-2-10
编辑:Azzi Abdelmalek
2013-2-10
A=magic(5) % Example
out=min(A(:))
% No, min function don't allow just inetger
help min
7 个评论
Azzi Abdelmalek
2013-2-11
Please, post correctly your question. Post a sample of your data, then ask clearly what you want.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!