Code covered by the BSD License  

Highlights from
Using Analytical Tools to Gain Insight and Speed-up Num. Analysis in MATLAB & Symbolic Math Toolbox

image thumbnail

Using Analytical Tools to Gain Insight and Speed-up Num. Analysis in MATLAB & Symbolic Math Toolbox

by

 

28 Jan 2013 (Updated )

files from the webinar

velocity.vel5(t,RocketStartTime,EngineOffTime,Chute1Time,Chute2Time)
function v5 = vel5(t,RocketStartTime,EngineOffTime,Chute1Time,Chute2Time)
%VEL5
%    V5 = VEL5(T,ROCKETSTARTTIME,ENGINEOFFTIME,CHUTE1TIME,CHUTE2TIME)

%    This function was generated by the Symbolic Math Toolbox version 5.9.
%    05-Nov-2012 22:46:23

t21 = EngineOffTime.*3.1569e4;
t2 = -t21;
t22 = RocketStartTime.*-2.9325e4;
t3 = -t22;
t4 = t2+t3+3.575e6;
t5 = 1.0./t4;
t6 = RocketStartTime.*5.0031e4;
t7 = t6+3.405875e8;
t8 = sqrt(t7);
t9 = RocketStartTime.*5.1e12;
t10 = t9-1.625e16;
t11 = 1.0./t10;
t12 = RocketStartTime.*t8.*t11.*2.5808718787e10;
t13 = EngineOffTime.*1.0323063e7;
t14 = RocketStartTime.*-8.855487e6;
t15 = t13+t14+1.553695e10;
t16 = 1.0./sqrt(t15);
t17 = EngineOffTime.*-1.57845e12;
t18 = RocketStartTime.*1.35405e12;
t19 = t17+t18+3.575e14;
t20 = 1.0./t19;
t23 = sqrt(t15);
t24 = t21+t22-3.575e6;
t25 = 1.0./sqrt(t24);
t26 = sqrt(t24);
v5 = t26.*tanh(t26.*(t25.*(atanh(tanh(t26.*(Chute2Time.*t5.*2.0e-8+t25.*(atanh(tanh(t26.*(Chute1Time.*t5.*1.0e-8-t25.*(atanh(t23.*t25.*tanh(t23.*(t16.*atanh((t8.*t16.*sinh(t12).*3.8297084312)./cosh(t12)).*6.7449166071e-9-EngineOffTime.*t20.*1.0+RocketStartTime.*t20).*1.482598019e8).*3.910309435e-2)-EngineOffTime.*t25.*3.7915107323e1).*2.6374711048e-10).*3.7915107323e9).*1.3483997249)+Chute1Time.*t25.*5.1124720286e1).*3.9120018434e-10).*2.5562360143e9).*1.204159457793851)+Chute2Time.*t25.*6.1562315462e1).*3.248740702799786e-9+t.*t5.*2.0e-7).*3.078115773099797e8).*6.374029259079134e-2;

Contact us