# alphabeta

Compute incidence and sideslip angles

## Syntax

``````[incidence sideslip] = alphabeta(velocities)``````

## Description

example

``````[incidence sideslip] = alphabeta(velocities)``` computes m incidence and sideslip angles, `incidence` and `sideslip` , between the velocity vector, `velocities`, and the body. ```

## Examples

collapse all

Determine the incidence and sideslip angles for velocity for one array.

`[alpha beta] = alphabeta([84.3905 33.7562 10.1269])`
```alpha = 0.1194 ```
```beta = 0.3780 ```

This example shows how to determine the incidence and sideslip angles for velocity for two arrays.

`[alpha beta] = alphabeta([50 20 6; 5 0.5 2])`
```alpha = 2×1 0.1194 0.3805 ```
```beta = 2×1 0.3780 0.0926 ```

## Input Arguments

collapse all

Velocity vector in body axes, specified as an m-by-3 array.

Example: `[84.3905 33.7562 10.1269]`

Data Types: `double`

## Output Arguments

collapse all

Incidence angle, returned as a scalar, in radians.

Sideslip angle, returned as a scalar, in radians.

## Version History

Introduced in R2006b