Phase and Magnitude of a Cosine

Click For Summary
SUMMARY

The discussion focuses on graphing the magnitude and phase of the function H(w) = cos(3w). The magnitude is determined to be the absolute value of the cosine function, which has a period of (2*pi)/3, with negative values flipped over the x-axis. The phase graph is more complex, as it reflects the relative phase relationship between cos(3w) and cos(w). Understanding this phase relationship is crucial for applications in Phase-Locked Loops (PLLs), where the sign change of H(w) must be represented in the phase graph.

PREREQUISITES
  • Understanding of trigonometric functions, specifically cosine.
  • Familiarity with graphing techniques for periodic functions.
  • Basic knowledge of Phase-Locked Loops (PLLs) and their applications.
  • Experience with MATLAB for graphing functions.
NEXT STEPS
  • Learn how to graph trigonometric functions in MATLAB.
  • Study the concept of phase relationships in periodic signals.
  • Explore the mathematical principles behind Phase-Locked Loops (PLLs).
  • Investigate the impact of frequency changes on phase and magnitude graphs.
USEFUL FOR

Students in electrical engineering, signal processing professionals, and anyone interested in understanding the graphical representation of trigonometric functions and their phase relationships.

fruitloops
Messages
1
Reaction score
0

Homework Statement



Graph the magnitude and phase of the function: H(w) = cos(3w)

Homework Equations



None

The Attempt at a Solution



So here's the thing, I understand how to graph the phase and magnitude of any sort of function like X(w) = A*exp(wt). In that case, the magnitude would just be |X(w)| = A and the phase would be w.

However, I'm not sure how to apply that to graphing a cosine. I know that it doesn't have any imaginary portions (I think), so the magnitude would be just the absolute value of the function, which would be the cos function with a period of (2*pi)/3 but with all the negative parts flipped over the x-axis. Using Matlab, I see that this is indeed the case:

http://imageshack.us/a/img696/2913/magfc.jpg

However, I don't understand how to get the phase graph or why it is like it is:

http://imageshack.us/a/img198/5306/phasen.jpg

Could someone explain this to me?

Thanks in advance!
 
Last edited by a moderator:
Physics news on Phys.org
fruitloops said:

Homework Statement



Graph the magnitude and phase of the function: H(w) = cos(3w)

Homework Equations



None

The Attempt at a Solution



So here's the thing, I understand how to graph the phase and magnitude of any sort of function like X(w) = A*exp(wt). In that case, the magnitude would just be |X(w)| = A and the phase would be w.

Hi fruitloops. http://img96.imageshack.us/img96/5725/red5e5etimes5e5e45e5e25.gif

It seems you are thinking of the case where the exponent is imaginary. But it isn't imaginary in the example you show here.
Graph the magnitude and phase of the function: H(w) = cos(3w)
Phase is always relative. Are you wanting to plot of cos(3w) relative to cos(w)? To see their phase relationship, sketch a cosine cos(w), and superimpose on it a cosine(3w). You can see that cos(3w) starts off in phase with cos(w) at w=0, and when w=Pi they are again in phase.

This sort of phase comparison — of signals of differing frequencies — is relevant to PLLs.
 
Last edited by a moderator:
H(w) changes sign at some w. The magnitude only shows size so sign change has to be reflected in the phase.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
Replies
4
Views
2K
Replies
17
Views
3K
  • · Replies 16 ·
Replies
16
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
10
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
8K
Replies
2
Views
1K
Replies
6
Views
4K