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

objectiveFcnNumeric(x)
%
% Copyright 2012 The MathWorks, Inc.
function out = objectiveFcnNumeric(x)
% This is the objective funtion for the optimisation
%
% We want to minimise the mass loss. This can be achived by maximising the
% mass of the car when at the point when the jet and rocket are switched
% off. This minimise the negative of the mass at this time.

rocketStartTime = x(1);
engineOffTime = x(2);
% chute1Time = x(3);
% chute2Time = x(4);

out = -Mass(engineOffTime, rocketStartTime, engineOffTime);

Contact us