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: Mar. 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 Wed 22-Mar-2017 09:13:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1