Numerical solution for trascendental equations
Show older comments
i would like to solve the following trascendental eqn using the following code:
syms omega
syms a
omega = sqrt(a^(2) - 1) - a*exp(-(2*pi - asin(1/a))/(omega));
z=solve(omega)
Eventually i would like to plot (omega,a)
but i get the Warning: The solutions are parametrized by the symbols:
k = Z_ minus {(log((a^2 - 1)^(1/2)/a)*I)/(2*PI)}
do you have any suggestion to solve this type of eqns?
2 Comments
Running the code here exactly as it was presented yields a different result.
syms omega
syms a
omega = sqrt(a^(2) - 1) - a*exp(-(2*pi - asin(1/a))/(omega));
z = solve(omega)
As best I can tell, what this code is really doing is
clear omega
syms omega
eq1 = sqrt(a^(2) - 1) - a*exp(-(2*pi - asin(1/a))/(omega));
z = solve(eq1,omega) % solve the equation eq1 == 0
subs(eq1,omega,z)
Are you sure about this line:
omega = sqrt(a^(2) - 1) - a*exp(-(2*pi - asin(1/a))/(omega));
Just asking because it looks peculilar to have omega on the LHS and the RHS of an assignment.
Giacomo Db
on 14 Feb 2022
Accepted Answer
More Answers (0)
Categories
Find more on Programming 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!
