from Vibration Modes of an Elliptic Membrane by Howard Wilson
Elliptic membrane frequencies and mode shapes are analyzed using Mathieu functions.

v=ce(x,m,q,ntrms)
function v=ce(x,m,q,ntrms)   
% v=ce(x,m,q,ntrms) 
% This function computes the even valued
% Mathieu function ce(x,m,q). See 20.2.3
% of Abramowitz & Stegun.

%         HBW 12/01/04
if nargin<4, ntrms=50; end
% even order
if mod(m,2)==0, order=1; n=2*(0:ntrms-1);
% odd order
else, order=2; n=1+2*(0:ntrms-1); end   
[a,c]=matue(q,order,1,ntrms);
v=cos(x(:)*n)*c(:,1+fix(m/2)); 

Contact us at files@mathworks.com