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: Aug. 22, 2017
 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 Tue 22-Aug-2017 11:03:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1