Home > Objects > @iFunc > xlim.m

iFit/xlim

PURPOSE ^

b = xlim(s, parameters, [min max], ...) : sets parameter bounds (min,max) for further fit using the model 's'

SYNOPSIS ^

function a = xlim(a, varargin)

DESCRIPTION ^

 b = xlim(s, parameters, [min max], ...) : sets parameter bounds (min,max) for further fit using the model 's'

   @iFunc/xlim bound model parameters during further fit process.

   To bound a set of parameters, you may use a regular expression as:
     xlim(model, regexp(model.Parameters, 'token1|token2|...'), [min max])

   xlim(model, parameter, [min max])
     limit a parameter in model within [min max]. Inf and NaNs are ignored.
   xlim(model, parameter, [])
     remove the parameter bounds in model
   xlim(model, parameter)
     return the current parameter limits
   xlim(model)
     display bounded parameters

 input:  s: object or array (iFunc)
 output: b: object or array (iFunc)
 ex:     b=xlim(a,'Intensity',[0 1]);

 Version: Mar. 22, 2017
 See also iFunc, iFunc/fits, iFunc/unlock, iFunc/lock

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