calculate the closest and the furthest values to a nominal diameter
3 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Image Analyst
on 26 Sep 2018
Try this
differences = diameters - nominalDiameter;
[closestDiff, indexOfClosest] = min(differences);
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!