Fast Fourier Transform Question in Matlab
2 ビュー (過去 30 日間)
古いコメントを表示
I have a signal with 8192 samples with lots of intermittent 0s. I want to compute the FFT of this signal however I don't want to use all of these 0s.
How can I shorten the original signal to get rid of these 0s and compute a FFT that is equivalent to the original signal?
0 件のコメント
回答 (1 件)
Azzi Abdelmalek
2013 年 3 月 14 日
y=rand(1,8192);
yout=sparse(y)
But to compute the fft you will need to use y, unless you use your own code
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Fourier Analysis and Filtering についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!