Bessel Equation VPASolve for the order
5 次查看(过去 30 天)
显示 更早的评论
Hi all,
I am trying to solve a simple equation like
syms E
eqn1 = besselk(E,3)==5
vpasolve(eqn1,E)
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.
0 个评论
采纳的回答
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])
2 个评论
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 Center 和 File Exchange 中查找有关 Bessel functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!