12-12-2013 10:48 AM - edited 12-12-2013 10:59 AM
12-12-2013 04:33 PM
Oldi,
I am not sure I understand your question.
LabVIEW has the FFT.vi in the Signal Processing palette. It takes double precision floating point inputs and does the calculations vi a Call Libraray Function Node. So you do not have any control over the calculation precision.
If you want to simulate the accuracy of FFT calculations with different precisions, I would think you should start with the algorithm which will be used. Calculations of this type can be very sensitive to not only the data representation, but also the order of operations and the way overflows are handled.
Lynn
12-15-2013 04:39 PM
You are right, I need FFT algoritem made by LabView discrete functions. I need simple description of the algoritem, a lot of studies and huge amount of time. 😞
12-15-2013 05:05 PM
The LabVIEW help defines the FFT according to this equation:
It should not be difficult to implement that equation with LV functions and VIs. However, that equation is not necessarily computationally efficient and probably is not the algorithm used by the LV FFT VI.
What you really need to simulate is the algorithm which will be used in the microprocessor. Talk to the project manager and determine what algorithm will be used on the microprocessor. Then implement that algorithm in LV. By careful use of integer data types or the Fixed point data type you should be able to evaluate the calculation errors in various data sizes.
Lynn