Member of the advanced class.
c = ellipke(x)
c = ellipke(x, tol)
[c, d] = ellipke(x)
[c, d] = ellipke(x, tol)
Computes the complete elliptic integral of the first and second kinds.
| Name | Description |
| x | Specifies the elliptic modulus. x is a real scalar, vector, or matrix with values between 0 and 1. |
| tol | Specifies the approximation tolerance. tol is a positive real number. The default is eps. |
| Name | Description |
| c | Returns the complete elliptic integral of the first kind. c is a matrix of the same size as x. |
| d | Returns the complete elliptic integral of the second kind. d is a matrix of the same size as x. |
X = 0:0.01:0.9;
[C, D] = ellipke(X);
plot(X, C)