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: Nov. 27, 2018
 See also iData, iData/max, iData/min, iData/colon, iData/logspace

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 27-Nov-2018 10:56:24 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1