Main Content

airspeed

Airspeed from velocity

Description

example

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

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 =

   54.1849
    5.4083

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.

Introduced in R2006b