Signals Help Needed: Discrete Time Signal Shifting

  • Thread starter Thread starter magneeto
  • Start date Start date
  • Tags Tags
    Signals
AI Thread Summary
In discrete time signals, shifting a signal x(n-k) to the right occurs when k>0, while x(n+k) shifts to the left. This is because the argument of the function is altered, affecting the timing of the signal's values. For example, in the sine function, shifting the argument left results in the plot shifting right. Similarly, for discrete signals, x(n+1) shifts the plot left by one time unit, as it corresponds to earlier values of n. Understanding this relationship between the argument and the function's plot clarifies the apparent contradiction in shifting directions.
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
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...

Similar threads

Back
Top