The cost function I'm going to minimize is:
Where is a vector for measurement and is also a measured vector. is known so only ,, is unknow.
Is there any other way to minimize instead of using three for-loops in GNU Octave?
In my case, two-variables can solve the problem too. The is just a correction factor. Not necessary to 100%.