Any limitation to FFT calculation for large sampled signals
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Walter Roberson
2021-4-20
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 个评论
Walter Roberson
2021-4-20
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 HDL Code Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!