PARAFACConstraints

Location: ..\cubatch\Model_PARAFAC\PARAFACConstraints.m

function ModelIn = PARAFACConstraints (ModelIn);

Description:
It opens a window for setting the constraints for fitting a PARAFAC model (this window is available only if compression is not applied and not for the LM algorithm).
The constraints currently available for PARAFAC are:
'none', 'orthogonality', 'nonnegativity', 'unimodality' (see the NWay/PARAFAC help).
Only one type of constraint is possible per mode. The selections are stored in ModelIn.constraints.

Inputs:
ModelIn: ModelIn structure

Outputs:
ModelIn: ModelIn structure, if the button 'OK' is not pressed and the figure is closed otherwise, ModelIn is returned empty.

Called by:
Model_PARAFAC\PARAFACModel

Subroutines:
Internal: None
External: setcvdata, cenwindow, ctag, cval, getcvdata

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

Last modified: 26-Oct-2002 17:34:20

Contact: Giorgio Tomasi, gt@kvl.dk

References