MATLAB Answers

0

How to use a vector of complex data as source in HDL coder?

I have a Simulink HDL model of a 4-point DFT that I want to test by feeding it 4 complex number from a constant block of a vector with 4 values, but outputs only the first value for all time samples. Is there way output the vector values on each time sample?

  0 Comments

Sign in to comment.

Tags

Products


Release

R2018b

1 Answer

Answer by Bharath Venkataraman on 10 Apr 2019
 Accepted Answer

Attached is a simple model that shows how to stream in a 4 value complex vector one value at a time. The values are split into real and complex so that it is easy to see it in the scope.

  0 Comments

Sign in to comment.