Contenu principal

Normalize Vector

R2026b

(Removed) Output unit vector parallel to input vector

Normalize Vector has been removed. For more information, see Version History.

  • Normalize Vector block

Libraries:
Simulink 3D Animation / Utilities

Description

Use the Normalize Vector block to obtain a unit vector parallel to a given vector.

Ports

Input

expand all

Vector of arbitrary size.

Data Types: single | double

Output

expand all

Unit vector parallel to the vector provided by the input signal.

Data Types: single | double

Parameters

expand all

The output is set to zeros if the modulus of the input is equal to or lower than this value.

Programmatic Use: Add Block

To add the block programmatically, use the add_block function with one of these library block paths as the source.

"vrlib/Utilities/Normalize Vector"

Example: add_block("vrlib/Utilities/Normalize Vector","myModel/myBlock",MakeNameUnique="on")

Version History

Introduced in R2006a

expand all