Accelerating the pace of engineering and science

Mu-Law Expander

Implement µ-law expander for source coding

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=\frac{V}{\mu }\left({e}^{|y|\mathrm{log}\left(1+\mu \right)/V}-1\right)\mathrm{sgn}\left(y\right)$

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

Dialog Box

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

Pair Block

Mu-Law Compressor