addpseudodata
Adds pseudodata information into inputed data structures
Contents
Syntax
[data, units, label, weight] = addpseudodata (data, units, label, weight)
Description
Adds the pseudodata information and weights for purposes of the regression
Inputs:
- data : structure with data values
- units : structure with data units
- label : structure with data labels
- weights : structure with data weights for a regression
Output:
- data : structure with data and pseudodata values
- units : structure with data and pseudodata units
- label : structure with data and pseudodata labels
- weights : structure with data and pseudodata weights for a regression
Example of use
[data, units, label, weight] = addpseudodata([], [], [], []); Will create the four structures data, units, label and weight with pseudodata information