How Do You Calculate the Fourier Transform of a Rectangular Wave?

AI Thread Summary
To calculate the Fourier transform of a rectangular wave, begin by defining the function piecewise, with f(x) = 1 in specified intervals and f(x) = -1 in others. Utilize the linearity of the Fourier transform, breaking the function into simpler components, A(x) and B(x), where A(x) represents the shifted rectangular wave and B(x) is a constant function. The Fourier transform can then be expressed as the sum of the transforms of these components, leveraging properties like convolution. By applying the definition of the Fourier transform and integrating over the defined intervals, you can derive the final expression, which will likely result in a sampled sinc function. This method provides a structured approach to solving the problem effectively.
Henk
Messages
22
Reaction score
0
For an experiment about Holograms I have to find a couple of Fourier transformations. The one I'm having troubles with is the following:

Find the Fouriertransform of a rectangular wave:
thus: f(x)=1 from (-5b,-3b), (-b,b) and (3b,5b) and (7b,9b) etc.
and f(x) = -1 from (-3b,-b), (b,3b), (5b,7b) etc.


Could someone give me a hint?
 
Physics news on Phys.org
I would do this by breaking it up into simpler pieces that you know the transforms of. Let your rectangular wave centered at zero be f(x), and say

f(x) = A(x) + B(x)

where A(x) is a the rectangular wave shifted up by one (so it goes from zero to two), and B(x) = -1. This helps because F(f(x)) = F(A(x)+B(x)) = F(A(x)) + F(B(x)), where F( ) is the Fourier transform. Now your rectangular wave is a train of boxes, which can also be thought of as a single box convolved with an impusle train, or A(x) = A1(x)\starA2(x). And since convlolution in one domain is multiplication in the other, you now have

F(f(x)) = F( A1(x)\starA2(x) ) + F(B(x)) = F(A1(x))F(A2(x)) + F(B(x))

Now you are left with all simple transforms, and it looks like you will end up with a sampled sinc function with an impulse somewhere.
 



Sure, I can provide some guidance for finding the Fourier transform of a rectangular wave. First, it's important to understand that the Fourier transform is a mathematical tool used to convert a function from its original domain (in this case, position or space) to its frequency domain. This means that instead of representing the function in terms of position, it will be represented in terms of frequency.

To find the Fourier transform of a rectangular wave, you can start by writing out the definition of the Fourier transform:

F(k) = ∫f(x)e^(-2πikx)dx

Where F(k) is the Fourier transform of f(x), k is the frequency, and f(x) is the function in the original domain (in this case, the rectangular wave function).

Next, you can plug in the given function of the rectangular wave into this definition and solve the integral. Since the function is defined piecewise (1 for certain intervals, -1 for others), you will need to break up the integral into smaller intervals and solve them separately. For example, for the first interval of (x=-5b to x=-3b), the integral would be:

∫1*e^(-2πikx)dx from -5b to -3b

You can use basic integration techniques to solve this integral, and then do the same for the other intervals. Once you have solved the integral for all the intervals, you can combine them to get the final Fourier transform of the rectangular wave function.

I hope this helps and gives you a good starting point for finding the Fourier transform of a rectangular wave. Remember, practice makes perfect, so don't be discouraged if it takes some time to get the hang of it. Good luck with your experiment on holograms!
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top