Main
Overview
Getting Started
Components
Videos
Sample Files

simulation components, logic, intelligence, patterns
AIB2 Components - Vector 2D Magnitude
Category: Math
  Description:
Computes the magnitude of a 2-dimensional vector. The magnitude of a vector is the distance from the origin of a graph to the tip of the vector, just as the absolute value of a number is the distance from 0 on a number line to that number. The equation can be stated as: mag = squareroot(x^2+y^2).
 

  Inputs: 3
Input Name:
Description:
Enabled
Boolean input of 1 or 0, ON or OFF, enabling or disabling computation on the provided inputs. Default is ON.
x
The input value of type double that is the x component of the 2D vector.
y
The input value of type double that is the y component of the 2D vector.

 

  Outputs: 1
Output Name:
Description:
Magnitude (m)
The output of type double that is the computed magnitude of the provided xy 2D Vector.

 

  Components in Same Category: Delay
Compare to Input (=)
Compare to Input (>)
Compare to Input (<)
Compare to Constant (=)
Compare to Constant (>)
Compare to Constant (<)
Add Input Values
Subtract Input Values
Multiply Input Values
Divide Input Values
Running Stats
Delta
Absolute Value
Raise to Power
Square Root
Running Total
Moving Average
Vector 3D Magnitude
Vector 2D Normalize
Vector 3D Normalize
Vector 2D [+ - * ^]
Vector 3D [+ - * ^]
Sine
Cosine
Tangent
Get Min
Get Max
Reverse Sign
In Range


  Sample Files with this Component:
 



Copyright © TinMan Systems, Inc. 2010-2015. All Rights Reserved.
Questions or comments: support@tinmansystems.com