lsqnonlin: units of functions

1 view (last 30 days)
Abraham Flothow
Abraham Flothow on 30 May 2018
Edited: Stephen23 on 30 May 2018
As explained in help, I created a vector-valued function f(x)=[f1;...;fn]. But the functions have different Units. E.g.
[f1]=m,
[f2]=m/s,
[f3]=rad/s,
...
Is this a Problem?

Accepted Answer

Torsten
Torsten on 30 May 2018
Say you have two functions given as
f1 = 3000*x - 20
f2 = 3*x - 0.03
and you use lsqnonlin to determine x.
What do you think ? Will the solution be closer to 20/3000 or 0.03/3 ?
Best wishes
Torsten.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!