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

조회 수: 12 (최근 30일)
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

채택된 답변

Matt J
Matt J 2015년 2월 9일
편집: Matt J 2015년 2월 9일
F=fft( fftshift(eye(N),1) ,[],1);
F=fftshift(F,1);
  댓글 수: 3
Matt J
Matt J 2015년 2월 10일
편집: Matt J 2015년 2월 10일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics and Optimization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by