Numerical solution for trascendental equations
이전 댓글 표시
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
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
2022년 2월 14일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Common Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

