my matlab doesn't recognize 'besselzer​o(...,...,​...)', any help?

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'.

 채택된 답변

KSSV
KSSV 2021년 12월 6일

0 개 추천

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

It worked. Thank you very much!
sil vous plait comment introduire la fonction besselzeros sur matlab?
Download it from https://raw.githubusercontent.com/jinwar/matnoise/master/besselzero.m and store it somewhere on your MATLAB path.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Bessel functions에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2021년 12월 6일

댓글:

2022년 4월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by