Any limitation to FFT calculation for large sampled signals
5 views (last 30 days)
Show older comments
Hi,
I'm finding FFT of signal .
Sampling frequency is 1KHz and sampling freq is 50MHz
Number of samples =fs/f=50000.
For these many samples is it possible to find FFT?
Or any limitations?
Thank you
0 Comments
Accepted Answer
Walter Roberson
on 20 Apr 2021
Example below with 5e7 (50,000,000) points -- 1000 times more than you were asking for. The number you are asking for is no problem at all.
data = rand(1,5e7) - 0.5;
f = fft(data);
plot(abs(f))
5 Comments
Walter Roberson
on 20 Apr 2021
FPGA get more expensive rapidly as the amount of memory increases. The amount of memory required for a full double precision floating point core is pretty high, which makes it quite expensive to use double precision on FPGA. Even using only single precision helps noticably, and using fixed point can make a big difference in memory usage.
DSPs vary as to whether they have floating point at all, with some being integer only, some being single precision, and some being double precision. The amount of available memory with a DSP can often be higher, as some of them can use add-on memory... but add-on memory is typically slower than on-chip memory. DSP speeds vary a fair bit.
If you want the highest performance short of burning your own chip, then you would typically need to use a FPGA with a lot of attention paid to reducing the computational load.
More Answers (0)
See Also
Categories
Find more on HDL Code Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!