Lab #2 Report + Code PDF

Title Lab #2 Report + Code
Author Neya Balakrishna
Course Intro-Signal Processing
Institution Georgia Institute of Technology
Pages 6
File Size 584.6 KB
File Type PDF
Total Downloads 100
Total Views 151

Summary

Professors: Chin Hui-Lee & Ghassan al-Regib
Content: Includes screenshots of code submitted for Lab #2; generated sinusoids (beat signals, chirps, etc.) with different parameters...


Description

Lab #2 ECE-2026 Spring-2021 LAB COMPLETION REPORT Name: Neya Balakrishna

Date of Lab: 2/18/20

Part 3.1 Show a few of the debugging features.

Part 3.2 Write the MATLAB code for generating a single sinusoid with varying amplitude, frequency and phase. Show the signal, spectrogram and sound. Code:

Output:

Part 3.3.1 Show that your addCosVals.m function is correct by running the test in Section 3.3.1 and plotting the result. Measure the period of signal in the structure ssOut, and explain its relationship to the fundamental frequency. Code:

Output:

T = 0.2941 – (-0.0392) = 0.3

In order to determine the period, I picked two successive peaks on the plot and calculated the difference of its x-axis values. The resulting value was 0.3333 or 1/3 sec. Because frequency is defined as the inverse of the period, the frequency is 3 Hz in this case and is therefore equal to the fundamental frequency.

Part 3.3.2: Write the MATLAB code for calculating nStart and nStop needed in the code.

nStart nStop

= =

Part 3.4 Write MATLAB code for generating the beat signal. Show the signal, spectrogram and sound.

Code:

Output:

Spectogram of beat signal from 3.4 (b) to show AM

Plot from Part 3.4.1 (a)

Spectogram of beat signal from 3.4.1 (c)

Part 3.5 Run the testing code to demonstrate your chirp signal and its spectrogram. Justification:

μ= 900 f0 = 200 Hz = 0.2 kHz φ= 0.3pi

Plot of chirp signal signal

Spectrogram of chirp...


Similar Free PDFs