如何在 MATLAB 中对包含贝塞尔函数的方程进行数值求解?

发布于 2024-09-13 18:59:14 字数 315 浏览 3 评论 0原文

我遇到过一个方程,其一侧包含第一类型的贝塞尔函数,另一侧包含第二类型的修正贝塞尔函数。我想知道它的精确解(u 的值)。方程如下:

u*besselj(s-1,u)/besselj(s,u)=-w*besselK(s-1,w)/besselk(s,w)

其中 s 是任意整数,例如 2。

w 可以写为 u 的函数:

w=sqrt(1-u^2);

因此该方程只有一个变量: u

我是 MATLAB 新手。我不知道应该如何处理这个问题。有人可以帮我吗?

I have confronted an equation containing Bessel functions of the first type on one side and modified Bessel functions of the second type on the other. I want to know its exact solutions (values of u). The equation is as follows:

u*besselj(s-1,u)/besselj(s,u)=-w*besselK(s-1,w)/besselk(s,w)

where s is an arbitrary integer number, for example 2.

w can be written as a function of u:

w=sqrt(1-u^2);

and so this equation has only one variable: u

I'm new to MATLAB. I have no idea about how I should approach this. Could anyone please help me?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浅唱ヾ落雨殇 2024-09-20 18:59:14

一个快速尝试的方法可能是 FZERO 函数,一个通用的非线性寻零器。要了解如何使用它,您可以实现文档中给出的示例。然后,重写你的函数,以便它可以输入到 fzero 并看看你得到了什么..

(注意:我还没有尝试过这个,但我只是注意到还没有回复,所以也许它比没有什么。)

A quick thing to try may be the FZERO function, a generic nonlinear zero finder. To learn how to use it, you can implement the examples given in the documentation. Then, rewrite your function so it can be input to fzero and see what you get..

(Note: I haven't tried this, but I just noticed there were no replies yet so maybe it's better than nothing.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文