Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
898 Views

"Real-Imag to Complex" in DSPBuilder Advanced Blockset

Hi, 

 

I want to know how to obtain a Complex Number from Real and Imaginary inputs. And also the other way round, i.e., if I have a Complex Number, then how to obtain it's Real and Imaginary parts. 

 

There are blocks "Complex to Real-Imag" and "Real-Imag to Complex" in Standard Blockset. But I could not find any such blocks in Advanced Blockset. 

 

Thanks.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
40 Views

The answer to this is version dependent. In 12.1 and before, you can simply use the simulink "Complex to Real-Imag" and "Real-Imag to Complex" blocks. They will simulate and synthesize just fine in the Advanced Blockset. In 13.0, these blocks are in the Advanced Blockset, and should be use as the simulink blocks will cause errors.

Altera_Forum
Honored Contributor I
40 Views

Thank you. I am using 12.0 and the simulink blocks worked without any problem.

Reply