finding minimum
이전 댓글 표시
how to find minimum between two numbers or variables. like p= min {(k'-1), int(dmax/d)} where dmax ,d, k' are variable
댓글 수: 1
Andrei Bobrov
2011년 10월 9일
p = min(k-1,fix(dmax/d))
답변 (1개)
Image Analyst
2011년 10월 9일
Did you look up min() in the help? Did you try something like
p = min([kPrime-1, int32(dmax/d)])
카테고리
도움말 센터 및 File Exchange에서 Whos에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!