interp

From DavinciWiki
Revision as of 14:56, 26 March 2007 by Cedwards (Talk | contribs)

Jump to: navigation, search


Description

Point interpolation algorithm which can be used to resample data to a new set of x values.

NOTE: The X value must be monotonically increasing. Or more simply, the next number must be larger than the previous number.

Arguments and Return Values

Arguments: An X and Y numerical array pair and a new X numerical array.

Return Value: A numerical array of Y values which is resampled to the new X numerical array

Usage

Syntax: interp(object = VAL, from = VAL, to = VAL [,type = STRING] [,ignore = VAL] )

object   - a set of Y values that correspond to the original or from X values
from     - a set of X values that correspond to the object Y values
to       - the new set of X values which will be the resampling source data
type     - the type of interpolation ("linear" (default) and "cubic" are the only two options)
ignore   - ignore value 

Examples

interp.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions


Recent Core Changes

Modified On: 07-23-2012

Personal tools