I think it will be clear by explaining the thinking this way.
Now I have a measured data set as the library and then 25 data points will be chosen as the initial guess value in the "M"
Then calculated "A" will be obtained through equation A=M and compared with the measured "A".
If calculated "A" (from the initial guess value) is relatively close to measured "A", the wanted solution is obtained.
If not, another 25 data points (close to the initial guess value) will be chosen from the library to match the measured "A".
I think 25 "A" are needed because I define 25 variable.
The goal is to find the closet solution to the initial guess value from the library we have.
Is it possible to do that in the Matlab?