Borrar filtros
Borrar filtros

Fast Fourier Transform Question in Matlab

2 visualizaciones (últimos 30 días)
John
John el 14 de Mzo. de 2013
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?

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 14 de Mzo. de 2013
You can use sparse function
y=rand(1,8192);
yout=sparse(y)
But to compute the fft you will need to use y, unless you use your own code

Categorías

Más información sobre Fourier Analysis and Filtering en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by