Determine vector components based on vector scaling and change of origin
1 view (last 30 days)
Show older comments
Consider a known vector k and an unknown vector L. L is positioned between vector k and an unknown fixed point in space. The vector L is comprised of two components, but is subject to change over time, hence a scaling factor delta(t).
I would like to determine the vector components of L, such that w can be determined.
I am able to translate and rotate the coordinate origin and sample the data of x(t), y(t), and theta(t), while also sampling the change of vector L collected in delta(t).
I am figuring that a least-square optimisation is needed to determine L's components, where an error based on the sampling data is minimised. However, so far I have been unable to setup the scheme.
Thanks.
0 Comments
Answers (1)
Ganapathi Subramanian R
on 6 Oct 2023
Hi Ole,
I understand that you are working on vector components and would like to know the implementation of least-square optimization. Please refer the below documentation to learn more about least square optimization algorithms and the solvers present in Optimization Toolbox to implement it.
Kindly refer the below example for further information on how to utilize the solvers in Optimization Toolbox.
0 Comments
See Also
Categories
Find more on Nonlinear Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!