Borrar filtros
Borrar filtros

Plotting an equation with summation and roots of bessel function

1 visualización (últimos 30 días)
Qian Ying Ooi
Qian Ying Ooi el 19 de Abr. de 2020
Comentada: Devineni Aslesha el 22 de Abr. de 2020
where y=M(t)/M(infinity), alpha(n) are roots of bessel function (first kind, zero order)
D and a are constants, D=5.46e-4, a=3
I'm trying to plot (t,y) for t=0:1:300 but not sure how to code for the roots of bessel function part. Any help is greatly appreciated, thank you!

Respuestas (1)

Devineni Aslesha
Devineni Aslesha el 21 de Abr. de 2020
The roots of the bessel function (first kind, zero order) can be obtained from the below code.
Z = 0:0.1:20;
J0 = besselj(0,Z);
alpha = roots(J0);
For more information, refer the following links.
  2 comentarios
J. Alex Lee
J. Alex Lee el 21 de Abr. de 2020
this does not seem right...
Devineni Aslesha
Devineni Aslesha el 22 de Abr. de 2020
I apologize for the above answer. However, the roots of the bessel function can be found using roots function from the given File Exchange link.

Iniciar sesión para comentar.

Categorías

Más información sobre Bessel functions en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by