Unipolar to Bipolar Converter
Converting a unipolar signal in the range ] to a bipolar signal.
Description
The Unipolar to Bipolar Converter unit converts a unipolar input signal to a bipolar output signal.
If the input signal consists of integers from to , where is the M-ary number parameter, the output signal consists of integers from to .
If the input signal is even, the output signal is odd. If the input signal is odd, the output signal is even.
This block is designed to work only if the input value is within the set of . where is the M-ary number parameter. If the input value is outside this set of integers, the output may not be correct.
The table below shows how the block display depends on the Polarity parameter.
Polarity parameter |
Output corresponding to the input value k |
|
2k-(M-1) |
|
-2k+(M-1) |
Parameters
Main group
# M-ary number — number of characters in a bipolar or unipolar alphabet
Details
The number of characters in a bipolar or unipolar alphabet.
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |
#
Polarity —
polarity
Positive
| Negative
Details
The polarity of the output signal.
-
If Polarity is set to
Positive
, the block preserves the relative ordering of characters in alphabets. -
If Polarity is set to `Negative', the unit changes the relative ordering of characters in the alphabets.
Values |
|
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |