For my fellow matlab users out there: minimization produces two different results with the same equation, when different units of measurment are used. Which kinda sucks, because I now need to make ugly convertation patches to see if the code even works properly.
#matlab #programming #grind #lsqnonlin #optimizethehelloutofeverything