Code covered by the BSD License

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

### Deepak Ramaswamy (view profile)

28 Jan 2013 (Updated )

files from the webinar

velocity.tb(RocketStartTime,EngineOffTime,Chute1Time,Chute2Time)
```function tb = tb(RocketStartTime,EngineOffTime,Chute1Time,Chute2Time)
%TB
%    TB = TB(ROCKETSTARTTIME,ENGINEOFFTIME,CHUTE1TIME,CHUTE2TIME)

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

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);
tb = Chute2Time.*1.000000000000066+t26.*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.2041594578).*1.6243703514e-2-t26.*atanh(t25.*1.402692023610576e3).*1.624370351399893e-2;
```

Contact us