www.gusucode.com > elfun18工具箱matlab源码程序 > elfun18/elfun18v1_3/elfun18v1_2/elfun18/mJacobiCN.m

    function result = mJacobiCN( X, M )
%MJACOBISN Jacobi's elliptic function cn.
%   MJACOBICN(X,M) computes Jacobi's function CN for elements of 
%   argument X and parameter M. X and M must all be real and the same size 
%   or any of them can be scalar.
%
%   See also JACOBICN

%   MJACOBICN is a wrapper function which mimics the elemental 
%   behaviour of function MJCN.

%   Functions called:
%       mjcn, ufun2

    if nargin < 2
        error('Not enough input arguments.');
    end

    result = ufun2(@mjcn, X, M);
    
end