Questions tagged [bessel-functions]

The bessel functions in mathematics are the canonical solutions of Bessel's differential equation for an arbitrary complex number.

The bessel functions in mathematics are the canonical solutions of Bessel's differential equation for an arbitrary complex number. The bessel functions can be applied in programming in various cases - when calculating pressure amplitudes, waves and vibrations, free particle and floating body dynamics, and many others.

107 questions
0
votes
2 answers

Plotting Bessel functions

How do you plot a Bessel function (2d) of the 1st kind in Matlab?
0
votes
1 answer

How to solve a zero order Bessel function equation in Matlab?

The equation is I0(a*x)=b, where a,b are constants, and I0(y) is zero order bessel function. I0(x)=1/(2*pi)*integral(x*cos(t)) dt [from 0 ->2*pi] I want to get the value of x when a and b are given. I just want the result, so it's not necessary…
Alex
  • 15
  • 3
0
votes
1 answer

Does sympy/mpmath cache results and what speed implications would that have?

I performed the following calculation: from sympy import mpmath as mp mp.besseljzero(1000, 100) which understandably took some time > 10s if not more (didn't time it). Subsequent calls were significantly faster which made me think it caches the…
evan54
  • 3,585
  • 5
  • 34
  • 61
0
votes
1 answer

Python TypeError: ufunc 'k0' using Scipy.special.k0

Hoping to get some guidance with my code, I'm quite new to python and I'm having difficulties with the modified bessel function k0 in my code. The actual code is split into two parts 1) The first section uses sympy to solve t and return the value…
user3191569
  • 485
  • 1
  • 7
  • 24
0
votes
1 answer

Bessel function of first kind from math.net

I need to use the bessel function of the first kind in unity3d (using c#). After trying to use the mathnet.numerics .dll in unity I found many errors apparently due to unity3d not supporting .NET 4. I decided to then use jetbrains dotPeek decompiler…
KMoore
  • 171
  • 1
  • 10
0
votes
2 answers

using the modified bessel functions in matlab and gsl

I am trying to make a kaiser window for a audio signal using both Matlab and c.I have been looking at Matlab and gnu scientific library documentation to understand how to use a modified bessel function of first kind and 0th order, but I still have…
Fred
  • 417
  • 6
  • 14
0
votes
2 answers

Using Negative Range for Bessel Function Results in 2 Values

I am using the inbuilt function of matlab to calculate the bessel function of second order, following is the code format long z = (-5:1:5)'; y = bessely(1,z) plot (y) The output is as follows y = -0.147863143391227 +…
user1318860
  • 67
  • 1
  • 4
  • 10
0
votes
1 answer

How to handle "Error in function boost::math::cyl_bessel_k(d,d): numeric overflow"

I have checked the boost docs, and I understand that this error is the result of passing 0 as the second argument to boost::math::cyl_bessel_k, and it does return (v == 0) ? policies::raise_overflow_error(function, 0, pol) :…
user1382306
0
votes
1 answer

Bessel Low Pass Algorithm

I'm looking for a java or c implementation of a Bessel low pass filter. After much searching I haven't been able to find much. Can anybody point me in the right direction? Thanks in advance
rstojano
  • 159
  • 4
  • 14
0
votes
1 answer

Solving Bessel Function using Runge Kutta

I'm working on an assignment for a class of mine and I'm supposed to write a code using a program of my choice (I've chosen Matlab) to solve the Bessel function differential equation using the 4th order Runge-Kutta method. For reference the Bessel…
John
  • 33
  • 1
  • 1
  • 4
-1
votes
1 answer

BesselJ in .net accord can't accept complex number

I want to pass complex number to bassel function in .net as you can see : Complex[,] F_k = new Complex[M, N]; F_k[m,n] = ((2 * Bessel.J(1, new Complex(1, -1) * (2 * 0.0110/ 122)))); but I get this error : Error CS1503 Argument 2: cannot…
Ehsan Akbar
  • 6,977
  • 19
  • 96
  • 180
-1
votes
1 answer

Problems with computing Integral in Python

So I've been trying to use the general integration method (quad) from Scipy on numpy on a specific expression; however, I get the following error TypeError: unsupported operand type(s) for *: 'function' and 'float' Here is the function I'm trying…
Sam
  • 145
  • 1
  • 3
  • 12
-1
votes
1 answer

Using Besselk function in C MexFunction

I would like to implement the Matern correlation function in C mexFunction, which requires the computation for the modified Besselk function of the second kind. In MATLAB, one can use the function besselk. However, there is no such equivalent in…
Bayes
  • 45
  • 1
  • 11
-1
votes
1 answer

C++: Bessel function with non-integers

I have been trying to find a library/function that computes the Bessel function of the first kind, but with non-integer values. I have the following program. // Include standard libraries #include #include #include…
chverb
  • 1
  • 1
-1
votes
2 answers

Computation of differentiation of Bessel function in matlab

In Matlab, why do differentiation of Bessel function j1(x) for let us say x= 1:10 gives 9 values instead of 10? x=1:10 J = besselj(1,x) d_J = diff(J) x = 1 2 3 4 5 6 7 8 9 10 J = Columns 1 through 7 …
user3914003
  • 1
  • 1
  • 2