🏡 Back Home

Lecture 2: Sinusoids

Reading assignments

Topics Today

Quick brush-up on sinusoids

insert.png|250

Pasted image 20220526104015.png

A peek into later chapters: Any signal can be written as a sum of sinusoids

Representing frequency

period.png|300

Units of frequency

Defining a sinusoid

Most general form of a sinusoid

Three parameters that define a sinusoid

Standard Form

Pasted image 20220518154413.png

“Standard form” constraints make parameters in a sinusoid unique

Standard Form -- Exercise

Quick refresher on Trig
1cBTt.png

Tuning Fork Example

[r, fs] = audioread('tuningfork440.mp3'); % audio clip attached to slides
t = (1:length(r)) / fs;
plot(t,r);

soundsc(r,fs);
soundsc(cos(2*pi*440*t), fs);

ginput(2) % measuring wavelength
T0 = diff(ans(:,1))
f0 = 1 / T0

Converting Equivalences

Two skills

  1. From formula to plot
  2. From plot to formula

Both based on equivalence of delay and phase shift:

Skill 1: Given formula/equation, draw plot

Solution
Pasted image 20220518162231.png|200

Steps

Note: You can arrive at the next peak by incrementing/decrementing by T_0=1/f_0. Additionally, when using the formula, the time for any peak can be chosen. The simplest choice would be the closest peak in this example

Skill 2: Given plot, write formula

Pasted image 20220518162242.png

Solution

  1. Measure time between peaks
  2. Measure time delay . In this case, you can use (wait i have some words here)
  3. Measure amplitude

Last step: Multiply everything out

Representing Sinusoids via Complex Exponentials

Euler

Graphically, plotted on the unit circle

Complex Amplitude

To get a general sinusoid, change from a set magnitude of 1 to a general complex amplitude (which represents the starting point in a rotating phasor)

Going back to Euler’s

Theta is a function of time

Therefore…

Note real component of z(t) looks familiar!
Pasted image 20220526114703.png

Important to note

Complex Amplitude Represents

Pasted image 20220526114810.png

Note how more compact it is to represent sinusoids in polar form and complex amplitudes, as we know the frequency.

Sum of Sinusoids

Motivating question: What is the result of the following expression?

While not as obvious, the sum is also a sinusoid, of the same frequency!

Key Result

Pasted image 20220526115221.png

The sum of 2 sinusoids having the same frequency is a single sinusoid of that frequency, regardless of amplitudes and phases!

Why? Phasors Make it Clear

Pasted image 20220526115344.png

Phasor addition rule

Here it is, restated once more

We know:

Any number of sinusoids can be added this way

Exercise


Next lecture: 05.23 Lecture - ECE2026