Solve Periodic Digital Signal: x[n]=1+cos(pi*n/3)+3sin(pi*n/2)

  • Thread starter Thread starter BarryThomas89
  • Start date Start date
  • Tags Tags
    Dsp Revision
Click For Summary

Discussion Overview

The discussion revolves around the periodic digital signal defined by the equation x[n]=1+cos(pi*n/3)+3sin(pi*n/2). Participants are exploring how to determine the period of the signal and how to tabulate its values over one complete period. The focus is on understanding the periodicity of the components and the implications for the overall signal.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant states that the period of the signal is 8, based on the provided answer, but expresses confusion about the workings leading to this conclusion.
  • Another participant challenges this by asserting that the cosine term has a period of 6 and the sine term has a period of 4, suggesting that the overall period should be 12, as it is the least common multiple of 6 and 4.
  • A third participant agrees with the second, noting that the initial answer of 8 conflicts with a plot that shows 12 values.
  • Further clarification is provided about how the cosine and sine functions complete their cycles, with specific references to the arguments of the functions and their relation to 2π.
  • Participants discuss the process of tabulating values for x[n] over one complete period, with one suggesting that it involves calculating values from x[0] to x[12].

Areas of Agreement / Disagreement

There is disagreement regarding the period of the signal, with some participants asserting it is 8 while others argue it is 12. The discussion remains unresolved as participants explore different interpretations and calculations.

Contextual Notes

Participants reference the periodicity of the sine and cosine functions, but there are unresolved assumptions about the definitions and calculations leading to the period determination. The relationship between the periods of the individual components and the overall signal is a point of contention.

BarryThomas89
Messages
3
Reaction score
0
Hey guys, I'm trying to revise for a DSP exam I have this week and I'm looking at past papers I have. I've got the question, and the out and out answer but it doesn't show the workings so I'm struggling to find out how to get there;For the following periodic digital signal;
x[n]=1+cos(pi*n/3)+3 sin(pi*n/2)

i)How many samples are there in one period?
ii)Tabulate the values of x[n] over one complete period

The answer to i) is 8, and I've got the plot for ii) but getting there is just baffling me, so if anyone can shed some light on it, or point me to some reading material, it would be much appreciated.

Cheers.
 
Physics news on Phys.org
BarryThomas89 said:
Hey guys, I'm trying to revise for a DSP exam I have this week and I'm looking at past papers I have. I've got the question, and the out and out answer but it doesn't show the workings so I'm struggling to find out how to get there;


For the following periodic digital signal;
x[n]=1+cos(pi*n/3)+3 sin(pi*n/2)

i)How many samples are there in one period?
ii)Tabulate the values of x[n] over one complete period




The answer to i) is 8, and I've got the plot for ii) but getting there is just baffling me, so if anyone can shed some light on it, or point me to some reading material, it would be much appreciated.

Cheers.
Assuming you have writting the problem correctly, I don't get 8 for the period of x[n]. The period of the cosine term is 6 and the period of the sine term is 4. The smallest integer that is divisible evenly by 6 and 4 is 12, not 8.
 
You may be on to something here. Because another thing that confused me about the answers given is that 8 was given for the first part, and the plot had 12 values...
Is it easy to explain how you got there, or do you know anywhere I can read up on it?
 
It's pretty easy to explain, and I pretty much did so in my first reply. I'll see if I can elaborate a bit.

cos(n pi/3) goes through a complete cycle in 6 units. sin(n pi/2) goes through a complete cycle in 4 units. The sum of these functions goes through a complete cycle in the smallest integer that is evenly divisible by 6 and 4, and that's 12.
 
Do they do complete cycles in 6 and 4 because there's 2 pi in one period? Or is that coincidence?
Also, any tips on the second part?
 
Both the sine and cosine function complete a cycle as the argument goes from 0 to 2 pi. For cos(n pi/3), n pi/3 goes from 0 to 2pi as n goes from 0 to 6. For sin(n pi/2), n pi/2 goes from 0 to 2pi as n goes from 0 to 4.

The second part is pretty simple; just make a table of values, calculating x[0], x[1], x[2], ..., x[12].
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
27K
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
Replies
4
Views
2K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
7K