# Documentation

### This is machine translation

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

## Units of Measure and Physical Constants

### Units of Measure

Phased Array System Toolbox™ software almost exclusively uses SI base and derived units to measure physical quantities. The software does not provide any utilities for converting SI base or derived units to other systems of measurement.

#### Angles

Angles are an exception to the use of SI base and derived units. All angles in Phased Array System Toolbox software are specified in degrees. See Spherical Coordinates for an explanation of the angles used in the software. There are two utility functions for converting angles from radians to degrees and degrees to radians: `rad2deg` and `deg2rad`.

#### Decibels

To accurately model and simulate phased array systems, it is necessary to account for gains and losses in power incurred at various stages of processing. In Phased Array System Toolbox software, these gains and losses are specified in decibels (dB). Signal to noise ratios (SNRs) and the receiver noise figure are also expressed in dB. A power of P watts in dB is:

`$10{\mathrm{log}}_{10}\left(P\right)$`

There are two utility functions for converting between dB and power: `db2pow` and `pow2db`, and two utility functions for converting between magnitude and dB: `db2mag` and `mag2db`.

### Physical Constants

Modeling and simulating phased array systems requires that you specify values for a number of physical constants. For example, the distribution of thermal noise power per unit bandwidth depends on the Boltzmann constant. To measure Doppler shift and range in radar, you have to specify a value for the speed of light. The following table summarizes the three physical constants specified in the toolbox. See `physconst` for additional information.

DescriptionValue
Speed of light in a vacuum299,792,458 m/s. Most commonly denoted by c.
Boltzmann constant relating energy to temperature.$1.38×{10}^{-23}$ J/K. Most commonly denoted by k.
Mean radius of the Earth6,371,000 m