Home > Objects > @iData > linspace.m

iFit/linspace

PURPOSE ^

v = linspace(a,b,n) : creates a linearly spaced vector of objects

SYNOPSIS ^

function v = linspace(a,b,n)

DESCRIPTION ^

 v = linspace(a,b,n) : creates a linearly spaced vector of objects

   @iData/linspace function to create a linearly spaced vector of iData objects
   This corresponds to a 'morphing' from a to b in n steps.

 input:  a: object or scalar (iData)
         b: object or scalar (iData)
         n: number of steps, i.e. length of vector. Default is n=10 (integer)
 output: v: vector (iData array)
 ex:     b=linspace(a,b);

 Version: Mar. 22, 2017
 See also iData, iData/max, iData/min, iData/colon, iData/logspace

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