PARAFACGNFit

Location: CuBatch\Model_PARAFAC\PARAFACGNFit.m

function Model_Parameters = PARAFACGNFit (X,F,varargin);

Description:
Fit_Fun fitting the PARAFAC model to the array X when compression or the dGN algorithm are required.

Inputs:
X: double array of data (currently limited to 3-ways)
F: number of components to extract.
varargin: the additional inputs (beside X and F) for the genparafac function.

Outputs:
Model_Parameters: structure with three fields

Called by:
Model_PARAFAC\Calculate

Subroutines:
Internal: None
External: genparafac, paroptions

Author:
Giorgio Tomasi
Royal Agricultural and Veterinary University
MLI, LMT, Chemometrics group
Rolighedsvej 30
DK-1958 Frederiksberg C
Danmark

Last modified: 10-Jun-2002 18:34:16

Contact: Giorgio Tomasi, gt@kvl.dk

References