Main Content

physconst

Physical constants

Description

const = physconst(name) returns the value of the physical constant const specified by the name argument.

example

Examples

collapse all

Determine the wavelength of a 1 GHz electromagnetic wave.

freq = 1e9;
lambda = physconst('LightSpeed')/freq
lambda = 
0.2998

Determine the thermal noise power per unit bandwidth in the in-phase (I) and quadrature (Q) channels of a receiver. Specify a receiver temperature of 290 K.

T = 290;
k = physconst('Boltzmann');

Compute the noise power per unit bandwidth, split evenly between the I and Q channels. Units are in dB.

Noise_power = 10*log10(k*T/2)
Noise_power = 
-206.9855

Input Arguments

collapse all

Name of physical constant, specified as 'LightSpeed', 'Boltzmann', or 'EarthRadius'. See Physical Constants for a list of values for physical constants used in Phased Array System Toolbox™.

Example: 'LightSpeed'

Output Arguments

collapse all

Value of physical constant, returned as a real-valued scalar. All values are in SI units.

More About

collapse all

Extended Capabilities

expand all

Version History

Introduced in R2011a