calculate the closest and the furthest values to a nominal diameter
조회 수: 3 (최근 30일)
이전 댓글 표시
I have plotted different circles with convergent diameters to a nominal value. I want to know which circle is the closest and the which one is the furthest from the nominal circle. I really really need your help
댓글 수: 0
답변 (1개)
Image Analyst
2018년 9월 26일
Try this
differences = diameters - nominalDiameter;
[closestDiff, indexOfClosest] = min(differences);
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!