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 ?

采纳的回答

Azzi Abdelmalek
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 个评论
Internazionale
Internazionale 2013-2-11
how about to find minimum value not only in mintemp (:,:,1,1) but also continue until (:,:,8,8) or the whole e. so, i get 64 minimum value.
Azzi Abdelmalek
Azzi Abdelmalek 2013-2-11
Please, post correctly your question. Post a sample of your data, then ask clearly what you want.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by