Bessel Equation VPASolve for the order

조회 수: 5 (최근 30일)
bil
bil 2023년 1월 30일
편집: Torsten 2023년 1월 31일
Hi all,
I am trying to solve a simple equation like
syms E
eqn1 = besselk(E,3)==5
eqn1 = 
vpasolve(eqn1,E)
Error using mupadengine/feval_internal
Unable to differentiate the equation.

Error in sym/vpasolve (line 172)
sol = eng.feval_internal('symobj::vpasolve',eqns,vars,X0);
for the variable E. But the problem I encounter is "Error using mupadengine/feval_internal. Unable to differentiate the equation."
Does anyone know an alternative way to solve this using vpasolve?
Thanks.

채택된 답변

Torsten
Torsten 2023년 1월 30일
nu = 0:0.1:7;
B = besselk(nu,3)-5;
plot(nu,B)
fun = @(nu)besselk(nu,3)-5;
nu = fzero(fun,[6 7])
nu = 6.2691
  댓글 수: 2
bil
bil 2023년 1월 30일
Hi,
Thanks for the response. I should have been more clear in my question, which I edited now. I was wondering if it was still possible to solve such an equation using vpasolve.
Torsten
Torsten 2023년 1월 31일
I should have been more clear in my question, which I edited now. I was wondering if it was still possible to solve such an equation using vpasolve.
No. That's why I used fzero (or fsolve).

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Bessel functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by