How can I setup the "FIR Rate Conversion HDL Optimized" block to give an evenly distributed output without the need for a FIFO?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Vicky Odendaal
am 31 Jul. 2023
Kommentiert: Garrey Rice
am 4 Aug. 2023
We are using the "FIR Rate Conversion HDL Optimized" block to convert from a 4 kHz to a 5 kHz signal.
The block outputs 5 valid data points per 1 ms (I input an evenly distributed 4 kHz data set), but they are not evenly distributed to give a traditional 5 kHz signal.
In the examples the output is read into a FIFO and then read out at the final frequency to evenly distribute the data pulses.
Is there any way or correct setup to obtain an evenly distributed output, without the need for an additional FIFO in my system?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1446437/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1446442/image.png)
0 Kommentare
Akzeptierte Antwort
Bharath Venkataraman
am 2 Aug. 2023
This block provides output as soon as it is able to, so the output is not evenly spaced. You will need a small FIFO in this case to evenly space the output.
3 Kommentare
Garrey Rice
am 4 Aug. 2023
The following example shows how to do what Bharath is suggesting. Hope this helps.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Optimization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!