KerMor  0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ParamSweep.m File Reference

ParamSweep: Plots the output with error bounds for a range of one specified parameter. More...

Go to the source code of this file.

Functions

function [ pm ,
Y ,
E ] = 
ParamSweep (rmodel, mu, inputidx, param, paramvals, pm)
 ParamSweep: Plots the output with error bounds for a range of one specified parameter. More...
 

Detailed Description

ParamSweep: Plots the output with error bounds for a range of one specified parameter.

Definition in file ParamSweep.m.

Function Documentation

function [ pm , Y , E ] = ParamSweep (   rmodel,
  mu,
  inputidx,
  param,
  paramvals,
  pm 
)

ParamSweep: Plots the output with error bounds for a range of one specified parameter.

This function may only be used if the output of the reduced models is one-dimensional.

Author
Daniel Wirtz
Date
2011-07-13
Change in 0.6:
(Daniel Wirtz, 2011-12-05) Moved this class from the visual/PlotParamSweep to ParamSweep
New in 0.5:
(Daniel Wirtz, 2011-07-13) Added this function.

This class is part of the framework

KerMor - Model Order Reduction using Kernels
Parameters
rmodelThe reduced model to use for simulations
muThe current parameter \(\mu\). Pass this if the model has more parameters than the one to sweep. If set, the value at the index of the sweeped parameter will be overwritten.
inputidxThe input index to use. As usual, set to [] if none are used.
paramEither a string containing the name of the parameter to sweep, or it's index in the parameter vector.
paramvalsA row vector of parameter values for sweeping.
pmA PlotManager instance to use for plotting
Return values
YThe simulation matrix for every parameter, each simulation in a row.
EThe estimated output errors for the respective setting in each row, if the reduced model's error estimator is enabled.
hThe handle of the created figure
Required fields of rmodel:
Required fields of pm:

Definition at line 17 of file ParamSweep.m.

References isposintscalar(), Norm.L2(), t, and Y.

Referenced by models.iciam2011.ICIAMMain(), and models.mathmod2012.MathMODMain().

Here is the call graph for this function:

Here is the caller graph for this function: