I would like to rewrite fftshift(f​ft2(fftshi​ft(x)))) as F*x*F.' but how do I handle the fftshifts?

12 vues (au cours des 30 derniers jours)
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

Réponse acceptée

Matt J
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
Matt J le 10 Fév 2015
Modifié(e) : Matt J le 10 Fév 2015
You're welcome. But if this is related to your other post, and you are trying to solve
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.

Connectez-vous pour commenter.

Plus de réponses (0)

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!

Translated by