Home > Scripts > Models > constant.m

iFit/constant

PURPOSE ^

y = constant(p) : Constant

SYNOPSIS ^

function y=constant(varargin)

DESCRIPTION ^

 y = constant(p) : Constant

   iFunc/constant a constant/background/single value
     y=p(1);

 constant(cte)          creates a model with specified constant

 input:  p: Constant parameter (double)
            p = [ Value ]
          or 'guess' 
          or name of a new parameter (string)
 output: y: model value
 ex:     y=constant('Temperature');

 Version: Nov. 26, 2018
 See also iFunc, iFunc/fits, iFunc/plot, quadline, plane2d
 (c) E.Farhi, ILL. License: EUPL.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1