Displaying Smallest Value?

I have experimental data that I want to match with a database of references. My program will consist of a while loop and calculation of RMSE of Experimental vs Reference A, Exp vs Ref B, Exp vs Ref C,...etc.
What code line(s) should I use to make the while loop choose the reference that has the least RMSE with respect to the experimental data so I can display it?

Categories

Find more on Chemistry in Help Center and File Exchange

Asked:

on 16 Dec 2016

Answered:

on 16 Dec 2016

Community Treasure Hunt

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

Start Hunting!