Signals Help Needed: Discrete Time Signal Shifting

  • Thread starter Thread starter magneeto
  • Start date Start date
  • Tags Tags
    Signals
Click For Summary

Discussion Overview

The discussion revolves around the shifting of discrete time signals, specifically the behavior of the signals x(n-k) and x(n+k) in relation to their graphical representation on the time axis. Participants explore the implications of these shifts in both discrete and continuous time contexts.

Discussion Character

  • Exploratory, Technical explanation, Conceptual clarification, Debate/contested

Main Points Raised

  • One participant questions why x(n-k) is shifted right and x(n+k) is shifted left, suggesting a contradiction in graphical notation versus shorthand notation.
  • Another participant explains that shifting the argument of a function affects the plot in the opposite direction, using the sine function as an example to illustrate this concept.
  • A different participant acknowledges the confusion but reiterates that x(n+k) refers to future values and x(n-k) refers to past values, leading to a belief that x(n+k) should shift right and x(n-k) should shift left.
  • Another participant counters this by stating that plotting y=x(n+1) results in a leftward shift, clarifying that the argument shift leads to a corresponding opposite shift in the plot.
  • One participant expresses gratitude for the clarification, indicating that their understanding has improved.

Areas of Agreement / Disagreement

Participants express differing views on the direction of shifts for discrete time signals, with no consensus reached on the initial confusion regarding graphical representation versus notation. Some participants agree on the mechanics of argument shifting, while others remain uncertain about the implications for discrete signals.

Contextual Notes

The discussion highlights the potential for misunderstanding in the graphical representation of discrete time signals and the importance of distinguishing between argument shifts and function shifts. There are unresolved aspects regarding the intuitive grasp of these concepts in discrete time.

magneeto
Messages
6
Reaction score
0
signals...help needed

hi,

can anyone tell me why a discrete time signal x(n-k) where k>0 is shifted right along the X-axis(the time domain) and x(n+k) is shifted left. should'nt it be the reverse? this is for the graphical notation. but for the notation x(n)={...,0,3,2,1,0,1,2,3,0,...}
we go left for x(n-k) and go right for x(n+k) which is past samples and future samples respectively. the graphical and short hand notations are really contradictory to me. so pleasezzz help me:rolleyes:
 
Engineering news on Phys.org
It's the same with continuous-time signals, and maybe a little more intuitive there. The -k or +k changes the argument to the function, so that the y value of the function takes on its value later or earlier than it would without the argument offset.

Take y=sin(x) and y=sin(x-a). Plot y=sin(x) and it crosses the x-axis as usual at x=0 and rising. Now set a=PI/4, so y=sin(x-PI/4). We know that sin()=0 when the argument to the sin() is 0, so sin(x-PI/4)=0 when x-PI/4=0, or x=PI/4. So now the first zero crossing of the plot has shifted to the *right* by PI/4, because the *argument* to the sin() function has been shifted to the left by PI/4. Shifting the argument to the function one way has the effect of shifting the plot of the function the other way.

Hope that helps. It always used to confuse me too, until I understood the difference between shifting the argument and shifting the function. -Mike-
 
thanks mike. It's easy when u think about the shifting of sine fuctions. But for a discrete time signal x(n+k) means taking future values of x(n) (n is the sampling variable) whereas x(n-k) means taking past values. and when we plot such signals shouldn't it be that for x(n+k) we take the signal to the right and for x(n-k) we take it to the left? if I'm right we can think of n to be equivalent to the time domain. then n+k would go forward in time and this should take the signal to the right! it's still a bit confusing. but it takes the signal to the left :(
 
No, the same thing applies to discrete signals. Plot some arbitraty y=x(n). Then plot y=x(n+1). The plot shifts to the left by one clock tick, because where n=0 used to give you the first value of y before, now x=-1 gives you the equivalent of the first value. The plot of y=x(n+1) thus looks like the plot of y=x(n), but shifted left in discrete time by one clock tick.
 
OK :) now it's clear . thank's a lot
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 43 ·
2
Replies
43
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 41 ·
2
Replies
41
Views
8K
  • · Replies 1 ·
Replies
1
Views
2K