Main Content

airspeed

Airspeed from velocity

Description

airspeed = airspeed(velocities) computes airspeeds, airspeed, from an m-by-3 array of Cartesian velocity vectors, velocities.

example

Examples

collapse all

Determine the airspeed for one velocity vector.

as = airspeed([84.3905  33.7562  10.1269])
as = 
91.4538

Determine the airspeed for multiple velocity vectors.

as = airspeed([50 20 6; 5 0.5 2])
as = 2×1

   54.1849
    5.4083

This example shows how to determine the airspeed for velocity for multiple arrays.

as = airspeed([50 20 6; 5 0.5 2])
as = 2×1

   54.1849
    5.4083

This example shows how to determine the airspeed for one velocity array.

as = airspeed([84.3905  33.7562  10.1269])
as = 
91.4538

Input Arguments

collapse all

Cartesian velocity vectors, specified as an m-by-3 array.

Data Types: double

Output Arguments

collapse all

Airspeed, returned as a scalar or array of m airspeeds.

Version History

Introduced in R2006b