Aerospace Blockset | ![]() ![]() |
Return an interpolated matrix for given inputs x, y, and z
Library
Description
The Interpolate Matrix(x,y,z) block interpolates a three-dimensional array of matrices.
This three-dimensional case assumes the matrix is defined as a function of three independent variables, x = [ x1 x2 x3 ... xi xi+1 ... xn ], y = [ y1 y2 y3 ... yj yj+1 ... ym], and z = [ z1 z2 z3 ... zk zk+1 ... zp ]. For given values of x, y, and z, eight matrices are interpolated. Then for xi < x < xi+1, yj < y < yj+1 and zk < z < zk+1, the output matrix is given by
where the three interpolation fractions are denoted by
In the three-dimensional case, the interpolation is carried out first on x, then y, and finally z.
Dialog Box and Parameters
Inputs and Outputs
The first input is the first independent variable.
The second input is the second independent variable.
The third input is the third 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: 3D Controller [A(v),B(v),C(v),D(v)], 3D Observer Form [A(v),B(v),C(v),F(v),H(v)], and 3D Self-Conditioned [A(v),B(v),C(v),D(v)].
See Also
Interpolate Matrix(x)
![]() | Interpolate Matrix(x,y) | ISA Atmosphere Model | ![]() |