implement first kind bessel function

1 回表示 (過去 30 日間)
sai reddy
sai reddy 2019 年 10 月 18 日
コメント済み: sai reddy 2019 年 10 月 21 日
I want to implement bessel function of first kind in MATLAB.
  • Jo = First kind zero order.
  • J1 There is nothing mentioned what is J1 in the artcile
  • But wikipidea says: The series indicates that −J1(x) is the derivative of J0(x),
  • What is J1 and how should i implement in MATLAB?
  • Should r be a constant value or variable?
Let us say I want to implement Jo(r) and J1(r)
Jo = besselj(0,r);
J1 = -besselj(1,r);
is the code J1 correct?

採用された回答

Walter Roberson
Walter Roberson 2019 年 10 月 18 日
Not exactly. Although -J1 is the derivative of J0, that does not mean that J1 = -besselj(1,x), it means that J1 = besselj(1,x) and that the derivative of J0 happens to change sign.
Analogy: diff(cos(x), x) = -sin(x) but that doesn't mean that you define cos(x) with an inherent - sign.
  1 件のコメント
sai reddy
sai reddy 2019 年 10 月 21 日
Thank you Walter. OK. I follow the same.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBessel functions についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by