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?

Answers (1)

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)

Categories

Products

Asked:

on 26 Nov 2016

Answered:

on 26 Nov 2016

Community Treasure Hunt

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

Start Hunting!