Aerospace Blockset    
Interpolate Matrix(x)

Return an interpolated matrix for given input x

Library

GNC

Description

The Interpolate Matrix(x) block interpolates a one-dimensional array of matrices.

This one-dimensional case assumes a matrix M is defined at a discrete number of values of an independent variable x = [ x1 x2 x3 ... xi xi+1 ... xn ]. Then for xi < x < xi+1, the block output is given by

where the interpolation fraction is defined as

Dialog Box and Parameters

Matrix to interpolate
Matrix to be interpolated. It should be three dimensional, the first two dimensions corresponding to the matrix at each value of x. For example, if you have three matrices A, B, and C defined at x = 0, x = 0.5, and x = 1.0, then the input matrix is given by
matrix(:,:,1) = A;
matrix(:,:,2) = B;
matrix(:,:,3) = C;

Inputs and Outputs

The first input is the first independent variable.

The output is the interpolated matrix.

Assumptions and Limitations

This block must be driven from the Simulink PreLookup Index Search block.

Examples

See the following Aerospace Blockset blocks: 1D Controller [A(v),B(v),C(v),D(v)], 1D Observer Form [A(v),B(v),C(v),F(v),H(v)], and 1D Self-Conditioned [A(v),B(v),C(v),D(v)].

See Also
Interpolate Matrix(x,y)

Interpolate Matrix(x,y,z)


  Incidence & Airspeed Interpolate Matrix(x,y)