Non-uniform FFT

3 次查看(过去 30 天)
Federica Campanaro
Federica Campanaro 2019-4-26
回答: mingyu xiao 2020-12-27
Hello everybody,
I need your help. I have to perform a non-uniform fast fourier transform. I've find the matlab code:
But I can't use it because I don't understand how I can customize with my data. Could you give me some suggestions?
I've attached my data.
In particular my difficulties regarded how to choose: f,knots,N using my data.
Then I've obtained an error:
During my trials when I evaluate this line:
MattOut_T2=iFGG_1d_type2(MattOut_Gauss,knots,Desired_accuracy);
I've obtained this error:
Error using zeros
Size inputs must be integers.
Error in iFGG_1d_type2 (line 140)
F=[zeros(.5*(R-1)*N,1);F;zeros(.5*(R-1)*N,1)];
where
MattOut_Gauss=FGG_1d_type1(data(:),knots,[Nx],Desired_accuracy);

回答(1 个)

mingyu xiao
mingyu xiao 2020-12-27
I think the problem lies in that, the number of input data of FGG_1d_type1 can be even or odd, but the number of input data of iFGG_1d_type2 must be even.

类别

Help CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by