[Index for beat] [Return to Master Index]

makeaxis

(beat/makeaxis.m)


Function Synopsis

xAxis = makeAxis (sampInt, numPoints, axisType)

Help text

 MAKEAXIS  Make 'correct' x-axis for plotting time or frequency data.
   XAXIS = MAKEAXIS (SAMPINT, NUMPOINTS, AXIS_TYPE)
   This function will take a sampling interval and generate a true
   horizontal axis for use in plotting data.  SAMPINT is the 
   sampling interval between data points being plotted.  NUMPOINTS is the
   number of data points that are being plotted.  AXIS_TYPE
   is a (character) flag.  If set to 'f' it creates a frequency axis
   (to be used when plotting Fourier transforms).  If set to 't', it will
   make a time axis to plot the time-domain signal (this is the default).
   It returns a COLUMN vector.

Produced by mat2html on Wed Jun 20 12:12:51 2001
Cross-Directory links are: OFF