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.

A-Law Expander

Implement A-law expander for source coding


Source Coding


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

x={y(1+logA)Afor 0|y|V1+logAexp(|y|(1+logA)/V1)VAsgn(y)for V1+logA<|y|V

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


A value

The A-law parameter of the compressor.

Peak signal magnitude

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

Match these parameters to the ones in the corresponding A-Law Compressor block.

Supported Data Type

PortSupported Data Types
  • double

  • double


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

Introduced before R2006a

Was this topic helpful?