rastors23
Newbie
Hello scholars,
I am working on spherical particles. I noticed there is difference, for instance, z = 0:0.2:1 besselj(1,z) (MATLAB) and z = {0, 0.2, 1} J = SphericalBesselJ[1, z] (Mathematica). I need to compute the spherical bessel function and its derivate of a function using MATLAB. How do I write the code for this especially when the z value has a complex number.
I am working on spherical particles. I noticed there is difference, for instance, z = 0:0.2:1 besselj(1,z) (MATLAB) and z = {0, 0.2, 1} J = SphericalBesselJ[1, z] (Mathematica). I need to compute the spherical bessel function and its derivate of a function using MATLAB. How do I write the code for this especially when the z value has a complex number.