Borrar filtros
Borrar filtros

What does this code exactly do using spdiags

1 visualización (últimos 30 días)
Chirag Anand
Chirag Anand el 4 de Mayo de 2016
Respondida: Bhavesh el 9 de Mayo de 2016
Hi what does the following code actually do? It states in the remarks that it is carrying out the hilbert transform but I am not so sure. I am not able to understand what is being acheieved by using the spdiags function also.a is a structural matrix, b consists of time domain data
a.b=ifft(spdiags([1:length(a.b)]'<length(a.b)/2,0,length(a.b),length(a.b))*fft(a.b))

Respuestas (1)

Bhavesh
Bhavesh el 9 de Mayo de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by