<< INTRP2BLK_f Lookup tables palette LOOKUP_f >>

Scilab Help >> Xcos > palettes > Lookup tables palette > INTRPLBLK_f

INTRPLBLK_f

Linear interpolation

Block Screenshot

Contents

Description

The output of this block is a function of the input obtained by linear interpolation. This block has a single scalar input and a single scalar output port. The coord. and coord. give respectively the coordinate and the coordinate of the data points to be interpolated.

The parameter vectors should be sorted (strictly increasing).

Parameters

Default properties

Example

The following example translate the sine input signal to a different range and cut part of it.

X={-1.0; -0.5; 0; 0.5; 1.0} Y={-6; -6; 0; 0; 6}

Interfacing function

See also


Report an issue
<< INTRP2BLK_f Lookup tables palette LOOKUP_f >>