Engee documentation

Unipolar to Bipolar Converter

Performs conversion of a unipolar signal in the range in a bipolar signal.

blockType: SubSystem

Path in the library:

/Communication Systems/Utility Blocks/Unipolar to Bipolar Converter

Description

Block Unipolar to Bipolar Converter Converts a unipolar input signal to a bipolar output signal.

If the input signal consists of integers from before , where – parameter M-ary number, then the output signal consists of integers from before .

If the input signal is even, then the output signal is odd. If the input signal is If it is odd, then the output signal is even.

This block is designed to work only if the input value is within the range of , where – parameter M-ary number. If the input value is outside of this set of integers, the output may be incorrect.

The table below shows how the block display depends on the parameter Polarity.

Parameter value Polarity The output corresponding to the input value

Positive

Negative

Ports

Input

# IN_1 — unipolar input signal
scalar

Details

Unipolar input signal.

Data types

Float64.

Complex numbers support

No

Output

# OUT_1 — bipolar output signal
scalar

Details

Bipolar output signal.

Data types

Float64.

Complex numbers support

No

Parameters

Main group

# M-ary number — the number of characters in a bipolar or unipolar alphabet

Details

The number of characters in a bipolar or unipolar alphabet.

Default value

4

Program usage name

M

Tunable

No

Evaluatable

Yes

# Polarity — The polarity
Positive | Negative

Details

The polarity of the output signal.

  • If for the parameter Polarity the value is set Positive the block preserves the relative ordering of characters in alphabets.

  • If for the parameter Polarity the value is set Negative the block changes the relative ordering of characters in alphabets.

Values

Positive | Negative

Default value

Positive

Program usage name

Polarity

Tunable

No

Evaluatable

Yes