Skip to content

getParamState #3

@fabien-vinckier

Description

@fabien-vinckier

It seems to me than there is an issue with the getParamState function and/or with the wiki explaining it:

  • In the wiki, the example says to put something like
    [~,phi] = getStateParamInput(x_t,P_t,in, 'observation');
    in the observation function...
    --> Usually, at this level the "in" argument is already defined as an inG (i.e. options.inG) or as a inF (i.e. options.inF)
  • But in the function, the first lines are a switch that select options.inG or options.inF according to the value of "functionType"...

I guess the "wiki" solution is the good one to avoid something like options.inG.inG but maybe I missed a point in the way you wanted to use the function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions