ri_to_c - david-macmahon/wiki_convert_test GitHub Wiki
Block: Real-Imag to Complex Block (ri_to_c)
Block Author: Aaron Parsons
Document Author: Aaron Parsons
Concatenates real and imaginary inputs into a complex output. Useful for simplifying interconnects. See also c_to_ri.
None.
| Port | Dir | Data Type | Description |
|---|---|---|---|
| r | in | Fix_x_y | Real data |
| i | in | Fix_x_y | Imaginary signed output, binary point specified by parameter. |
| c | out | UFix_x_0 | Complex input, real in MSB, imaginary in LSB. |
Conveniently combines real and imaginary components of a number into a single wire. See also c_to_ri.
Category:Block Documentation