y = db2mag(ydb) returns
the magnitude measurements, y, that correspond to the decibel (dB)
values specified in ydb. The relationship between magnitude and
decibels is
For this example, generate a 2-by-3-by-4 array of Gaussian random numbers. Assume the numbers are expressed in decibels and compute the corresponding magnitudes.
rng('default');
ydb = randn(2,3,4);
y = db2mag(ydb)