1. In Matlab, the gamma function of n can be accessed using the following form: x = Gamma (n)
For example, gamma (6) = 5! = 120, check it in MATLAB:
>> Gamma (6)
Ans =
120
2. To display data in a table, you can include single quotes at the end of the line:
>> x = (1:0.1:2) ';
3.MATLAB allows you to calculate incomplete gamma functions (incomplete gamma function), the command used in MATLAB to find this function is:
y = gammainc (x,n)
When X<<1 and n<<1, the incomplete gamma function satisfies p (x, N) ≈xn.
4. Bessel functions:
In Matlab, the first type of Bayes function is implemented using BESSELJ. The invocation is in the form: y = BesselJ (n,x)
The second type of Bayes function is implemented using bessely (n, x).
We can also implement other types of Bessa-Hankel functions (Hankel function) in MATLAB. Call Besselh (Nu, K, z) to take advantage of these functions, a total of two classes of Hankel functions (first and second Class), in Matlab, the type of the function is indicated by K. If we omit k from the argument and write Besselh (Nu, z), MATLAB defaults to using the first class Hankel function.
5.MATLAB uses Nan to denote "not a numeric value (not a number)".
6. Beta function: To use the beta function in MATLAB, we use:
x = Beta (m,n)
7. Power Integral: Use the following syntax in MATLAB to perform this function:
y = expint (x), note expint (0) = INF.
8. Many other special functions can be calculated numerically by using the Mfun command:
>> Help Mfunlist
9. To use the Riemann ζ function calculation in matlab, we write:
W = mfun (' Zeta ', z)
10. Accompanying Legendre equation in matlab You can use the following command to calculate:
p = Legendre (n,x)
11. We use AI (z) to represent the Assyrian function: Use w = Airy (z) in MATLAB to calculate the value of AI (z).
The 11th chapter of MATLAB Learning notes--using special functions