VectorMagnitude(Array) Function

Top 

Description

Returns the magnitude of a vector. If the array has more than 3 elements, only the first 3 elements of the array are considered.

 

This function has been Deprecated. Please use Array.Norm() or Matrix.Norm() instead.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

 

Function Signature

VectorMagnitude(

Array vector)

 

 

Arguments

vector


Description:

A three-element vector.

Required Size:

At least 3

 

 

 

Return Value

Type:

number

 

 

Returns the magnitude of a vector. If the array has more than 3 elements, only the first 3 elements of the array are considered.

 

Syntax

myVariable1 = VectorMagnitude(myArray1);

 

 

See also

VectorMagnitude