calculate the closest and the furthest values to a nominal diameter

3 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Image Analyst
Image Analyst il 26 Set 2018
Try this
differences = diameters - nominalDiameter;
[closestDiff, indexOfClosest] = min(differences);
  1 Commento
insaf
insaf il 26 Set 2018
that's work so good!! thank you so much I want to ask also, if it possible, how can I do the same but with squares? thank you again

Accedi per commentare.

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by