How to solve the following non linear system of equations?
1 view (last 30 days)
Show older comments
Considering that the only unknows are q11, q21, q12, q22, is there any matlab function to get the solution? Is there a possibility that there exists no solution? We have 4 equations and 4 unknonws, the other variables apart from q11, q21, q12, q22 are all known.
3 Comments
Walter Roberson
on 15 Nov 2017
It looks plausible that you could use the symbolic toolbox. However, I can see that if there are any solutions there are multiple solutions due to the ^2 of the second two equations; and the cos() and sin() and cosh() and sinh() make it likely that there are an infinite number of solutions.
These look to me to possibly be rotation matrices such as for a robot arm. Such equations seldom have unique solutions.
Answers (1)
Bshara Murr
on 16 Nov 2017
Edited: Bshara Murr
on 17 Nov 2017
Not sure how do you read your system and get 4 equations with 4 unknowns. However for such problems you must use the symbolic toolbox if you want the computer to generate your system. And try slove it will do the work. I have worked on a similar problem but i have forgotten all the details on how i did it. If you want i can send you the code. But as far as i remember "solve" solves nonlinear equations.
2 Comments
Walter Roberson
on 16 Nov 2017
The notations indicate that q11, q12, q21, q22 are the unknowns; everything else is to be presumed known.
The first two equations are det() equal to 0; the last two equations have the difference of a couple of ^2 terms equal to 0. That gives four equations and four unknowns.
However... I cannot seem to find any msolve()
Bshara Murr
on 17 Nov 2017
Edited: Bshara Murr
on 17 Nov 2017
yes i am sorry the function is solve my bad, i'll fix it in my answer.
See Also
Categories
Find more on Vibration Analysis 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!