Extended Kalman Filter End of trail navigation bar

Table of Contents

Jacobian

Numerically computes the Jacobian of a non-linear function, f(x,u), with respect to x.

Library

QUARC Targets/Continuous

MATLAB Command Line

Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:

qc_open_library('quarc_library/Continuous')

Description

Jacobian

The Jacobian block numerically computes the Jacobian of a non-linear function, f(x,u), with respect to x.

The output function, f(x,u), must be implemented by the user using Simulink blocks. To enter the output function, f(x,u), double-click on the block to open the block parameters dialog. Then click on the Output function, f(x,u)... button to open the subsystem in which the output function should be implemented. Be careful to get the dimensions of signals correct.

Warning

At no time should the input and output ports within the output function subsystem be deleted. Doing so will break the block!

Input Ports

x

The input signal to the system, with respect to which the partial derivatives are calculated.

u

Additional inputs with respect to which the derivatives are not calculated.

Output Ports

J

The estimated Jacobian of the output function.

Data Type Support

This block accepts input of type double. The output is of type double.

Parameters and Dialog Box

Jacobian

Type of perturbation

Whether the values specified in the Perturbations field are added to x or whether they are treated as percentages that are multiplied by x.

Perturbations

The perturbation values for each element of x used when calculating the partial derivatives of the output function. If there are fewer elements in this field than elements of x then the last element is replicated. Hence, a scalar value will be applied to all elements of x.

How these values are interpreted depends on the Type of perturbation parameter.

Targets

Target Name

Compatible*

Model Referencing

Comments

QUARC Win32 Target

Yes

Yes

QUARC Win64 Target

Yes

Yes

QUARC Linux Nvidia Target

Yes

Yes

QUARC Linux QBot Platform Target

Yes

Yes

QUARC Linux QCar 2 Target

Yes

Yes

QUARC Linux QDrone 2 Target

Yes

Yes

QUARC Linux Raspberry Pi 3 Target

Yes

Yes

QUARC Linux Raspberry Pi 4 Target

Yes

Yes

QUARC Linux RT ARMv7 Target

Yes

Yes

QUARC Linux x64 Target

Yes

Yes

QUARC Linux DuoVero Target

Yes

Yes

QUARC Linux DuoVero 2016 Target

Yes

Yes

QUARC Linux Verdex Target

Yes

Yes

QUARC QNX x86 Target

Yes

Yes

Last fully supported in QUARC 2018.

Rapid Simulation (RSIM) Target

Yes

Yes

S-Function Target

No

N/A

Old technology. Use model referencing instead.

Normal simulation

Yes

Yes

* Compatible means that the block can be compiled for the target.

 

navigation bar