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.vel6(t,RocketStartTime,EngineOffTime,Chute1Time,Chute2Time)
function v6 = vel6(t,RocketStartTime,EngineOffTime,Chute1Time,Chute2Time)
%VEL6
%    V6 = VEL6(T,ROCKETSTARTTIME,ENGINEOFFTIME,CHUTE1TIME,CHUTE2TIME)

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

t33 = EngineOffTime.*3.1569e4;
t31 = -t33;
t25 = -t31;
t6 = -t25;
t2 = -t6;
t34 = RocketStartTime.*-2.9325e4;
t32 = -t34;
t26 = -t32;
t7 = -t26;
t3 = -t7;
t4 = t2+t3-3.575e6;
t5 = 1.0./sqrt(t4);
t8 = t6+t7+3.575e6;
t9 = 1.0./t8;
t10 = RocketStartTime.*5.0031e4;
t11 = t10+3.405875e8;
t12 = sqrt(t11);
t13 = RocketStartTime.*5.1e12;
t14 = t13-1.625e16;
t15 = 1.0./t14;
t16 = RocketStartTime.*t12.*t15.*2.5808718787e10;
t17 = EngineOffTime.*1.0323063e7;
t18 = RocketStartTime.*-8.855487e6;
t19 = t17+t18+1.553695e10;
t20 = 1.0./sqrt(t19);
t21 = EngineOffTime.*-1.57845e12;
t22 = RocketStartTime.*1.35405e12;
t23 = t21+t22+3.575e14;
t24 = 1.0./t23;
t27 = sqrt(t19);
t28 = t25+t26-3.575e6;
t29 = 1.0./sqrt(t28);
t30 = sqrt(t28);
t35 = t33+t34-3.575e6;
t36 = sqrt(t35);
v6 = t36.*tanh(t36.*(t29.*(atanh(t5.*7.367299441366222e2)+t5.*(Chute2Time+t30.*atanh(tanh(t30.*(Chute2Time.*t9.*2.0e-8+t29.*(atanh(tanh(t30.*(Chute1Time.*t9.*1.0e-8-t29.*(atanh(t27.*t29.*tanh(t27.*(t20.*atanh((t12.*t20.*sinh(t16).*3.8297084312)./cosh(t16)).*6.7449166071e-9-EngineOffTime.*t24.*1.0+RocketStartTime.*t24).*1.482598019e8).*3.910309435e-2)-EngineOffTime.*t29.*3.7915107323e1).*2.6374711048e-10).*3.7915107323e9).*1.3483997249)+Chute1Time.*t29.*5.1124720286e1).*3.9120018434e-10).*2.5562360143e9).*1.2041594578).*1.6243703514e-2-t30.*atanh(t29.*1.4026920236e3).*1.6243703514e-2).*4.4459404231e1).*2.474167207200244e-9+(t.*1.1e-7)./(t31+t32+3.575e6)).*4.041764021000399e8).*1.213579015131239e-1;

Contact us