This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Physical constants


Const = physconst(Name)


Const = physconst(Name) returns the constant specified in the Name argument. Valid values are 'LightSpeed', 'Boltzmann', or 'EarthRadius'. Values are in SI units.

Input Arguments


Character vector that indicates which physical constant the function returns. Values are not case sensitive.

Output Arguments


Value of physical constant specified in the input argument Name.


collapse all

Determine the wavelength of a 1 Ghz electromagnetic wave.

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

Approximate the thermal noise power per unit bandwidth in the I and Q channels of a receiver.

Specify the receiver temperature and Boltzmann constant.

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

Compute the noise power per unit bandwidth, split evenly between the in-phase and quadrature channels.

Noise_power = 10*log10(k*T/2);

More About

collapse all

Physical Constants

This table lists the supported constants and their values in SI units.

'LightSpeed'Speed of light in vacuum299,792,458 m/s. Most commonly denoted by c.
'Boltzmann'Boltzmann constant relating energy to temperature1.38×1023 J/K. Most commonly denoted by k.
'EarthRadius'Mean radius of the Earth6,371,000 m

Extended Capabilities

Introduced in R2011a

Was this topic helpful?