I would like to rewrite fftshift(fft2(fftshift(x)))) as F*x*F.' but how do I handle the fftshifts?
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I would like to rewrite fftshift(fft2(fftshift(x)))) as F*x*F.' (where F = dftmtx(N) and N is the size of x), but how do I handle the fftshifts?
Thanks so much for your help!
Christine
0 commentaires
Réponse acceptée
Matt J
le 9 Fév 2015
Modifié(e) : Matt J
le 9 Fév 2015
F=fft( fftshift(eye(N),1) ,[],1);
F=fftshift(F,1);
3 commentaires
Matt J
le 10 Fév 2015
Modifié(e) : Matt J
le 10 Fév 2015
fftshift(fft2(fftshift(x)))) = y
I hope you realize that the solution is just
x = fftshift(ifft2(fftshift(y))))
In other words, there is no reason to be seeking the matrix representation, F. A linear algebraic solution would also be slower computationally.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Mathematics and Optimization dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!