Bessel function values using starting values

2 views (last 30 days)
Prajakta Borse
Prajakta Borse on 29 Aug 2021
Commented: Yongjian Feng on 30 Aug 2021
I wish to calculate values of bessel function of first kind using starting values of j(1,1) and
for n=2:9
The above code do not give correct or even values close to the exact values.
I dont understand what is wrong with this code.

Answers (1)

Yongjian Feng
Yongjian Feng on 29 Aug 2021
matlab has built-in function. Compare against it.
Yongjian Feng
Yongjian Feng on 30 Aug 2021
Of course you can do it yourself. Here the point is that you can compare your result against the answer from the built-in function. This can help you to debug your function.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!