⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ellrad.m

📁 JLAB is a set of Matlab functions I have written or co-written over the past fifteen years for the p
💻 M
字号:
function[ri,rbar,rm]=ellrad(a,b,phi)%ELLRAD  Average and instantaneous ellipse radius. %%   [RI,RA,RM]=ELLRAD(A,B,PHI) where A and B are the semi-major and%   semi-minor axes of a time-varying ellipse, and PHI is its time-%   varying phase, returns quantities related to the ellipse 'radius',%   i.e. the distance from the ellipse curve to the origin:%%       RI    Instantaneous distance from the origin%       RBAR  Period-averaged distance from the origin%       RM    Geometric-mean radius%  %   See Lilly and Gascard (2006) for details.%%   See also ELLVEL, ELLCONV, ELLDIFF.%%   Usage:  [ri,rbar,rm]=ellrad(a,b,phi);%   __________________________________________________________________%   This is part of JLAB --- type 'help jlab' for more information%   (C) 2005--2006 J.M. Lilly --- type 'help jlab_license' for details      kappa=frac(1,sqrt(2))*sqrt(squared(a)+squared(b));lambda=abs(ecconv(b./a,'ell2lam'));ecc=ecconv(lambda,'lam2ecc');[K,E]=ellipke(ecc.^2);rbar=frac(2*kappa,pi).*sqrt(1+lambda).*E;ri=kappa.*sqrt(1+lambda.*cos(2*phi));rm=sqrt(a.*abs(b));%   ra=kappa.*(1-lambda.^2/16);%   RA is obtained from a power series expansion in terms of the%   eccentricity parameter lambda. 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -