This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Calculate Range

Calculate range between two crafts given their respective positions




The Calculate Range block computes the range between two crafts. The equation used for the range calculation is


Inputs and Outputs

InputDimension TypeDescription
First Contains the (x, y and z) position of craft 1.
Second Contains the (x, y and z) position of craft 2.

OutputDimension TypeDescription
First Contains the range from craft 2 and craft 1.


The calculated range is the magnitude of the distance, but not the direction. Therefore it is always positive or zero.

Craft positions are real values.

Introduced before R2006a

Was this topic helpful?