Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Documentation
All Products
CONTENTS
DSP System Toolbox
Close
Statistics and Linear Algebra
Power Inputs
dB Conversion
Voltage Inputs
Convert magnitude data to decibels (dB or dBm)
Dialog Box
Supported Data Types Library
See Also Math Functions / Math Operations
dspmathops
Description
Power Inputs
Select Power as the Input signal parameter when the input, u, is a real,
nonnegative, power signal (units of watts). When the Convert to parameter is set
to dB, the block performs the dB conversion
y = 10*log10(u) %
Equivalent MATLAB code
When the Convert to parameter is set to dBm, the block performs the dBm
conversion
y = 10*log10(u) + 30
Voltage Inputs
Select Amplitude as the Input signal parameter when the input, u, is a real
voltage signal (units of volts). The block uses the scale factor specified in ohms by
the Load resistance parameter, R, to convert the voltage input to units of power
(watts) before converting to dB or dBm.
When the Convert to parameter is set to dB, the block performs the dB
conversion
y = 10*log10(abs(u)^2/R)
When the Convert to parameter is set to dBm, the block performs the dBm
conversion
y = 10*log10(abs(u)^2/R) + 30
Dialog Box
Convert to
The logarithmic scaling to which the input is converted, dB or dBm. The reference
power is 1 W for conversions to dB and 1 mW for conversions to dBm. Tunable.
Input signal
The type of input signal, Power or Amplitude.
Load resistance
The scale factor used to convert voltage inputs to units of power. Tunable.
See Also
dB Gain DSP System Toolbox
Math Function Simulink
log10 MATLAB
Examples
Release Notes
PDF Documentation
Other Documentation
Signal Processing Toolbox
MATLAB
Simulink
All Products
Support
MATLAB Answers
Installation Help
Bug Reports
Product Requirements
Software Downloads
United States
Patents
Trademarks
Privacy Policy
Preventing Piracy