fourier transform of a pattern

조회 수: 2 (최근 30일)
Rehan
Rehan 2015년 11월 5일
편집: Rehan 2015년 11월 8일
Let's say we have a periodic pattern (1D) with black and white stripes. The period is p. We can move the pattern along the pattern direction. Each time we move only p/3. Can you write the Fourier transform of this pattern and what happens when we move the pattern?
  댓글 수: 2
Image Analyst
Image Analyst 2015년 11월 5일
Yes, I can. Why don't you try it and see?
Rehan
Rehan 2015년 11월 5일
i need little clue,because i am not good at dft

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

채택된 답변

Image Analyst
Image Analyst 2015년 11월 5일
Use ones(), zeros(), and repmat() to make up a series of stripes. Then call fft(). I think all I have are fft2 demos on 2-D images.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2015년 11월 5일
No, with that information you cannot write the Fourier transform.
Consider the pattern
1001110011100111001110011100111001110011
The period is 5: the pattern is repeats of 10011. But that is going to have different fourier transform compared to
1110011100111001110011100111001110011100
which is also period 5.
The period of a pattern does not tell you anything about the complexity of the pattern.
The effect of the movement is going to depend upon the whether the period is divisible 3, which is not given.
If the period is divisible by 3, then each location will cycle in value every 3. You can predict that it will go through one of the 8 patterns, 000, 001, 010, 011, 100, 101, 110, or 111, but each location might go through a different pattern, not just a different phase of the same pattern. For example if the pattern is 010011010 then the period is 9 and a movement of 3 at a time would produce 010011010 then 011010010 then 010010011. Notice that the first location is always 0, the second is always 1, and the third goes 010, so the fft of the first or second location would have only the DC offset (first location) nonzero but the third location would have a different result.
If the period is not divisible by 3, then each bit will reach each position with period 3*p (I think it is.)
  댓글 수: 1
Rehan
Rehan 2015년 11월 8일
thanks,both answers helped me in different aspects,i want to accept both answers but i don't know how, i accepted first and second option disappeared . but i accept both answers,because both have given me good idea in different aspects. Thanks to both of you :)

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

카테고리

Help CenterFile Exchange에서 Discrete Fourier and Cosine Transforms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by