Home > Objects > @iFunc > munlock.m

iFit/munlock

PURPOSE ^

b = munlock(s, parameters, ...) : free parameter lock (clear) for further fit using the model 's'

SYNOPSIS ^

function a = munlock(a, varargin)

DESCRIPTION ^

 b = munlock(s, parameters, ...) : free parameter lock (clear) for further fit using the model 's'

   @iFunc/munlock unlock model parameters during further fit process.
     to unlock/clear a parameter model, use munlock(model, parameter)

   To unlock/free a set of parameters, you may use a regular expression as:
     munlock(model, regexp(model.Parameters, 'token1|token2|...'))

   munlock(model, {'Parameter1', 'Parameter2', ...})
     unlock/free parameter for further fits
   munlock(model, [1 2 ...])
     unlock/free parameters given their index
   munlock(model, 'all')
     unlock/free all parameters
   munlock(model)
     display free parameters

 input:  s: object or array (iFunc)
 output: b: object or array (iFunc)
 ex:     b=munlock(a,'Intensity');

 Version: Mar. 22, 2017
 See also iFunc, iFunc/fits, iFunc/mlock, iFunc/xlim

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 22-Mar-2017 09:13:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1