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!