my matlab doesn't recognize 'besselzero(...,...,...)', any help?
6 views (last 30 days)
Show older comments
I am trying to write a code for an assignment which requires to use the roots of a bassel of first kind. I looked up and found a function that can be used to find the bassel function.
besselzero calculates the zeros of Bessel function of the first and second kind
x = besselzero(n)
x = besselzero(n, k)
x = besselzero(n, k, kind)
I tried using it and it failed. I have been scowering through internet why, but can't seem to find how to make it work.
>> z = besselzero(0, 1000,1);
Unrecognized function or variable 'besselzero'.
>> z = besselzero(0, 100,1);
Unrecognized function or variable 'besselzero'.
>> z = besselzero(0, 10,1);
Unrecognized function or variable 'besselzero'.
0 Comments
Accepted Answer
KSSV
on 6 Dec 2021
It is not a inbuilt function. You need to download it from the place you have reffereed it to. You can copy the function from the link:
3 Comments
Walter Roberson
on 10 Apr 2022
Download it from https://raw.githubusercontent.com/jinwar/matnoise/master/besselzero.m and store it somewhere on your MATLAB path.
More Answers (0)
See Also
Categories
Find more on Bessel functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!