You are not logged in.
Hello,
I'd like to know how I could convert the following Simulink blocks to SysGen blocks:
1- Real-Imag to Complex.
2- Complex to Real-Imag.
3- Signum function.
4- Discrete filter.
Thanks in advance.
Offline
1-2) These are essentially data-type conversions in Simulink. To process complex numbers in Sysgen, you need to keep the real/imaginary separate, processing them independently.
3) There is a Threshold block in the Sysgen blockset that implements this (well, almost; it outputs +1, not zero, if the input is zero).
4) There is no automatic Sysgen filter constructor; you will need to design/customize a filter to fit your application. Look at the Xilinx Reference Blockset library in Simulink for many example filter implementations.
Offline