How Are Step Functions Used in Calculating Fourier Transforms?

In summary, the conversation was about calculating the Fourier transform of a signal using properties of Fourier transform and the function u(n+N)-u(n-N-1). It was discussed how to determine the value of this function for different values of n and N, and how to use a number line to visualize it. The person also shared their attempt at solving it algebraically, but there was a mistake in considering the endpoints of the intervals.
  • #1
mickonk
7
0
Hi. Here is one example from my book.
Calculate Fourier transform of signal:

p1.png


Here is solution:
We can write x(n) as:

p2.png
,

where x1(n) is u(n+N)-u(n-N-1). We can write:

p3.png


(we used that cos(n)=(1/2)*(exp(j*n)+exp(-j*n)).
Using properties of Fourier transform of discrete signal:

p4.png
,
Fourier transform of our signal will be:

p5.png


We will find Fourier transform of x1(n):

p7.png
How they calculated that u(n+N)-u(n-N-1) equals 1 for -N<=n<=N and 0 for other values of N?
 
Physics news on Phys.org
  • #2
mickonk said:
How they calculated that u(n+N)-u(n-N-1) equals 1 for -N<=n<=N and 0 for other values of N?
Try setting up a number line with -N and N + 1 on it, and then mark the intervals on that number line where u(n + N) and u(n - N - 1) are either 0 or 1.

You should be able to use that to say something about where u(n + N) - u(n - N - 1) is then 0 or 1.
 
  • #3
Here is how I tried to solve this algebraically.
We have function u(n+N)-u(n-(N+1)). Let's say N is some positive number, for example N=1.
1. When n is less then -N, for example n=-2, we have u(n+N)-u(n-(N+1))=0-0=0.
2. When -N<n<N+1 , for example n=-0.5, we have u(n+N)-u(n-(N+1))=1-0=1.
3. When n>N+1, for example n=3, we have u(n+N)-u(n-(N+1))=1-1=0.
So our function equals 1 for n between -N and N+1 but solution from my book doesn't agree with it?
 
  • #4
mickonk said:
Here is how I tried to solve this algebraically.
2. When -N<n<N+1 , for example n=-0.5, we have u(n+N)-u(n-(N+1))=1-0=1.
Take care to consider the endpoints of your intervals. What happened to -N?

Also, n and N are integers.

mickonk said:
3. When n>N+1, for example n=3, we have u(n+N)-u(n-(N+1))=1-1=0.
What happened to N + 1?
 

Related to How Are Step Functions Used in Calculating Fourier Transforms?

1. How do you define "step functions" in the context of subtraction?

Step functions are a type of mathematical function that has a constant value within each of its intervals, and changes abruptly from one value to another at the boundaries between those intervals. In subtraction, we use step functions to represent the difference between two quantities.

2. What is the process for subtracting two step functions?

To subtract two step functions, we first align the intervals of the two functions. Then, we subtract the values of the first step function from the second step function for each interval. If there is no overlap between the intervals, the resulting step function will have a value of 0 for that interval.

3. Can you give an example of subtracting step functions?

Yes, for example, if we have two step functions f(x) and g(x) with intervals [0,3] and [2,5] respectively, the resulting step function f(x)-g(x) will have intervals [0,2] and [3,5] with values of f(x)-g(x) for each interval. If f(x)=x and g(x)=2, the resulting step function would be [0,2] with a value of -2 and [3,5] with a value of 1.

4. What are some real-world applications of subtraction of step functions?

Subtraction of step functions can be used in various fields such as economics, physics, and engineering. For example, in economics, it can be used to model the change in profits over time. In physics, it can be used to calculate the change in velocity of an object. In engineering, it can be used to determine the difference in voltage between two points in a circuit.

5. Are there any limitations to using subtraction of step functions?

One limitation of using subtraction of step functions is that it can only be applied to functions with discrete values. It cannot be used for continuous functions. Additionally, the resulting step function may not accurately represent the actual difference between the two quantities if there is a significant overlap between their intervals.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
1
Views
400
  • Engineering and Comp Sci Homework Help
Replies
3
Views
321
  • Engineering and Comp Sci Homework Help
Replies
6
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
2K
  • Differential Equations
Replies
4
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
2K
  • Advanced Physics Homework Help
Replies
0
Views
613
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Linear and Abstract Algebra
Replies
4
Views
1K
Back
Top