x=quadratic(1,-2*L2*cos(THETA2),s^2+L2^2-L3^2-2*s*L2*sin(THETA2)) how can i manage to solve this? its giving me an error message that matrix must be square
Info
This question is closed. Reopen it to edit or answer.
Show older comments
x=quadratic(1,-2*L2*cos(THETA2),s^2+L2^2-L3^2-2*s*L2*sin(THETA2)) how can i manage to solve this? its giving me an error message that matrix must be square
3 Comments
Roger Stafford
on 26 Dec 2013
What is the unknown variable you are trying to solve for? Is it THETA2, s, L2, L3, or x? Also what is the meaning of "quadratic" here? Is it a function or is it some 3D array? Can you please write out the equation you are trying to solve in simpler terms?
Walter Roberson
on 27 Dec 2013
My speculation would be that quadratic(a,b,c) is roots([a,b,c]) or roots([c,b,a])
Answers (1)
Walter Roberson
on 26 Dec 2013
x=quadratic(1,-2.*L2.*cos(THETA2),s.^2+L2.^2-L3.^2-2.*s.*L2.*sin(THETA2))
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!