Solving multiple non-linear equations simultaneously
1 view (last 30 days)
Show older comments
Hello,
I am trying to solve a set of linear and non-linear equations (14 equations) to get the unknown values. What would be the best way of doing this? Is there an easy way to export the known values to Maple and then import the results? Or is there a way to do everything inside of Matlab?
Here is an example of one of my equations:
((pLd(1,n+1)- pLex)^2 + (pLd(2,n+1) - pLey)^2 + ...
(pLd(3,n+1) - pLez)^2 = (pLd(1,n) - pLe(1,n))^2 + ...
(pLd(2,n) - pLe(2,n))^2 + (pLd(3,n) - pLe(3,n))^2)
where pLex, pLey, pLez are all unknowns. I have all the equations (I think) necessary to solve for the unknowns, just can't figure out how to code it.
Thanks
0 Comments
Answers (1)
Walter Roberson
on 28 Sep 2015
If you have the Symbolic Toolbox then you can use vpasolve which is the MATLAB equivalent of Maple's fsolve()
0 Comments
See Also
Categories
Find more on Assumptions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!