Back-expand functions from a given set of constraint shapes
eta = constraint_shape_expansion(shp,f,dof,constraint_dof)
CONSTRAINT_SHAPE_EXPANSION calculates functions from a given set of constraint shapes. It works with Time Response and Frequency Response Functions.
SHP is an imat_shp containing the constraint shapes.
F is an imat_fn containing the functions to use as input to the constraint function expansion.
DOF is an imat_ctrace containing the degrees of freedom used in SHP to estimate the constraint shapes. DOF must contain only positive coordinates.
CONSTRAINT_DOF is an imat_ctrace containing the DOF used to define the constraint shapes.
ETA is an imat_fn containing the back-expanded functions. It is calculated using the basic equation below:
ETA = pinv(shp{dof}) * F{dof}