Velocity Conversion

Convert from velocity units to desired velocity units

  • Library:
  • Aerospace Blockset / Utilities / Unit Conversions

Description

The Velocity Conversion block computes the conversion factor from specified input velocity units to specified output velocity units and applies the conversion factor to the input signal.

The Velocity Conversion block port labels change based on the input and output units selected from the Initial unit and the Final unit lists.

Ports

Input

expand all

Velocity, specified as a scalar or array, in initial velocity units.

Dependencies

The input port label depends on the Initial unit setting.

Data Types: double

Output

expand all

Velocity, returned as a scalar or array, in final velocity units.

Dependencies

The output port label depends on the Final unit setting.

Data Types: double

Parameters

expand all

Input units, specified as:

m/s Meters per second
ft/s Feet per second
km/s Kilometers per second
in/s Inches per second
km/h Kilometers per hour
mph Miles per hour
kts Nautical miles per hour
ft/min Feet per minute

Dependencies

The input port label depends on the Initial unit setting.

Programmatic Use

Block Parameter: IU
Type: character vector
Values: 'm/s' | 'ft/s' | 'km/s' | 'in/s' | 'km/h' | 'mph' | 'kts' | 'ft/min'
Default: 'ft/s'

Output units, specified as:

m/s Meters per second
ft/s Feet per second
km/s Kilometers per second
in/s Inches per second
km/h Kilometers per hour
mph Miles per hour
kts Nautical miles per hour
ft/min Feet per minute

Dependencies

The output port label depends on the Final unit setting.

Programmatic Use

Block Parameter: OU
Type: character vector
Values: 'm/s' | 'ft/s' | 'km/s' | 'in/s' | 'km/h' | 'mph' | 'kts' | 'ft/min'
Default: 'm/s'

Introduced before R2006a