Documentation

This is machine translation

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

Mu-Law Expander

Implement µ-law expander for source coding

Library

Source Coding

Description

The Mu-Law Expander block recovers data that the Mu-Law Compressor block compressed. The formula for the µ-law expander, shown below, is the inverse of the compressor function.

x=Vμ(e|y|log(1+μ)/V1)sgn(y)

The input can have any shape or frame status. This block processes each vector element independently.

Parameters

mu value

The µ-law parameter of the compressor.

Peak signal magnitude

The peak value of the input signal. This is also the peak value of the output.

Supported Data Type

PortSupported Data Types
In
  • double

Out
  • double

References

[1] Sklar, Bernard. Digital Communications: Fundamentals and Applications. Englewood Cliffs, N.J.: Prentice-Hall, 1988.

Introduced before R2006a

Was this topic helpful?