x — Signal measurements scalar | vector | matrix | N-D array

Signal measurements, specified as a scalar, vector, matrix,
or N-D array.

Data Types: single | double Complex Number Support: Yes

SignalType — Type of signal measurements 'voltage' (default) | 'power'

Type of signal measurements, specified as either 'voltage' or 'power'.
If you specify SignalType as 'power',
then all elements of x must be nonnegative.

R — Resistive load 1 Ω (default) | positive scalar

Resistive load, specified as a positive scalar expressed in
ohms. This argument is ignored if you specify SignalType as 'power'.

dboutput — Energy or power measurements in decibels scalar | vector | matrix | N-D array

Energy or power measurements in decibels, returned as an array
with the same dimensions as x.

If x contains voltage measurements,
then dboutput is $$10\text{\hspace{0.05em}}\text{\hspace{0.17em}}{\mathrm{log}}_{10}\left({\left|x\right|}^{2}/R\right).$$

If the input x contains power
measurements, then dboutput is $$10\text{\hspace{0.17em}}{\mathrm{log}}_{10}x.$$

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.