Code covered by the BSD License  

Highlights from
Curvilinear Coordinates

from Curvilinear Coordinates by Howard Wilson
Programs are presented which use symbolic math, curvilinear coordinates, and tensor concepts.

[X,Y,Z]=oblate0(eta,theta,psi)
function [X,Y,Z]=oblate0(eta,theta,psi)
% [X,Y,Z]=oblate0(eta,theta,psi) defines
% oblate spheroidal coordinates
X=cosh(eta).*sin(theta).*cos(psi);
Y=cosh(eta).*sin(theta).*sin(psi);
Z=sinh(eta).*cos(theta);

Contact us at files@mathworks.com