Global Index (all files) (short | long) | Local contents | Local Index (files in subdir) (short | long)
[ObjVal, t, x] = objdopi(Chrom, method, TSTART, TEND);
OBJective function for DOuble Integrator This function implements the Double Integrator. Syntax: ObjVal = objdopi(Chrom, method, TSTART, TEND) Input parameters: Chrom - Matrix containing the chromosomes of the current population. Each row corresponds to one individual's string representation. if Chrom == [], then special values will be returned method - if Chrom == [] and method == 1 (or []) return boundaries method == 2 return title method == 3 return value of global minimum if Chrom ~[], method of simulation 1 - sim: simulink model 2 - ode: ordinary differential equations 3 - con: transfer function to state space, uses Control Toolbox => outcommented (tf2ss, lsim) 12 - odv: ordinary differential equations vectorized if method is omitted or empty 12 is assumed TSTART - (optional) start time, if omitted 0 is assumed TEND - (optional) end time, if omitted 1 is assumed Output parameters: ObjVal - Column vector containing the objective values of the individuals in the current population. if called with Chrom == [], then ObjVal contains method == 1, matrix with the boundaries of the function method == 2, text for the title of the graphic output method == 3, value of global minimum t - time vector of last simulation x - matrix containing state values of last simulation See also: simdopiv, simdopi1, initdopi, objharv, objlinq, objpush
This function calls | This function is called by |
---|---|