How can I solve function of x?

If I have a functions of x
Bx= function of x
By= function of x
B=sqrt(Bx^2+By^2)
Ax= function of x
Ay= function of x
A=sqrt(Ax^2+Ay^2)
how can I solve the equation A=B in MatLab?

Réponses (1)

Walter Roberson
Walter Roberson le 26 Nov 2016

0 votes

syms x
Bx = formula in x
By = formula in x
B = sqrt(Bx.^2 + By.^2)
Ax = formula in x
Ay = formula in x
A = sqrt(Ax.^2 + Ay.^2)
solve(A == B, x)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by