PARAFACApply
Location: ..\cubatch\Model_PARAFAC\PARAFACApply.m

function ModelOut = PARAFACApply (MainFig);
Description:
Applies a certain PARAFAC model (that have just been calculated or loaded) to a new set of data.
The new data is loaded via the load_extdata function.
If more than one model is available a listbox requester appears requesting selection (which is permanent for the current session - i.e. the ModelOut.model and ModelOut.validation hold in the memory contain only the chosen model) of the model's complexity.
The results are saved in the 'prediction' field of ModelOut.
Inputs:
MainFig: main CuBatch window handle.

Outputs:
ModelOut: ModelOut structure (it can be modified depending on the selection, see Description)

Called by:
Dispatch_Apply
Subroutines:
Internal: None
External: applymodel, load_extdata, parafacpred

Author:
Giorgio Tomasi
Royal Agricultural and Veterinary University
MLI, LMT, Chemometrics group
Rolighedsvej 30
DK-1958 Frederiksberg C
Danmark
Last modified: 27-Oct-2002 00:20:56
Contact: Giorgio Tomasi, gt@kvl.dk
References