How spectrograms can be used in non-stationary signals

Assignment Help MATLAB Programming
Reference no: EM13860451

Assignment 1: Signals and Spectra

This assignment is going to examine the concept of spectrum and consider the limitations of spectral representations and how time-frequency analysis can help improve spectral analysis.

a) In MATLAB generate seven 1 second length cosinusoids, use a sampling rate of 22050 Hz so you can listen to them using soundsc() (if you wish).

- Each of the seven cosines will have an amplitude of 1 with frequencies and phases relating to the numbers in your student number (see table below).

 

Student Number

Frequency

Phase

1

1100 Hz

0.1π rad

2

1000 Hz

0.2π rad

3

900 Hz

0.3π rad

4

800 Hz

0.4π rad

5

700 Hz

0.5π rad

6

600 Hz

0.6π rad

7

500 Hz

0.7π rad

8

400 Hz

0.8π rad

9

300 Hz

0.9π rad

0

1200Hz

0 rad

By hand, calculate the expected frequency spectrum of these seven sinusoids (individually), label each spectral component with their corresponding complex amplitudes.

Use the fft() function in MATLAB to confirm your calculations by plotting the actual spectra of these signals. Label all MATLAB figures including x and y axes.

b) In this task you will concatenate the seven cosines from task a) into one 7 sec long vector. To concatenate vectors in MATLAB use:
x=[x1 x2 x3 x4 x5 x6 x7];

Use calculations and/or your conceptual understanding of spectra to predict what you'd expect the spectrum of this signal to look like. Confirm this hypothesis by again using fft() in MATLAB to plot the actual spectrum.

If MATLAB differs from your predictions explain why this is so.

c) In this task create a new variable and add together your seven cosines: x=x1 + x2 + x3 + x4 + x5 + x6 + x7;

Again use calculations and/or your conceptual knowledge of the topic to make a prediction about what you'd expect the spectrum of this signal to look like.

Now use MATLAB to confirm your hypothesis.

Discuss:

1. Is this signal periodic? If so what is the fundamental period/frequency? If it's not periodic explain why it's not.
2. Explain how the spectra in parts b and c are the same or different. Explain why there may be differences between the two (you will need to take into account the Fourier Transform property of modulation and possibly phasor addition in your explanation).
3. Discuss techniques on how time information can be retained while still being able to observe the frequency content of a signal.
d) This task is going to look at implementing a time-frequency analysis on the two signals generated in parts b) and c) and consider how this can give us more information about a signal.

- Use spectrogram() in MATLAB to obtain a time-frequency plot of both the concatenated signal and the added signal. E.g.
spectrogram(x, 1024, [], 1024, fs)

Discuss:

1. Contrast the spectrogram graphs to the graphs obtained from using fft() and explain what extra information you've been able to obtain about the signals in parts b) and c).

2. Explain how spectrograms can be used in non-stationary signals to help obtain time and frequency information. Give examples of some practical signals this technique could be useful in analysing.

Reference no: EM13860451

Questions Cloud

Injury of the medial epicondyle : Pitcher's elbow is a repetitive use injury of the medial epicondyle. What do the muscles that attach to the medial epicondyle control? How would you adapt this experiment to test these muscles?
What is the duration of the po securities? : What is the duration of the PO securities?
Overview of the organ systems : Our first week together provides an overview of the organ systems. Choose 3 organ systems and complete a Venn diagram illustrating the relationship of the chosen organ systems. List at least 4 functions of each organ system in each circle. The ove..
What is meant by the equilibrium rate of interest : How financial intermediaries profit from the transformation of primary securities into secondary claims and what is meant by the equilibrium rate of interest?
How spectrograms can be used in non-stationary signals : Use calculations and/or your conceptual understanding of spectra to predict what you'd expect the spectrum of this signal to look like. Confirm this hypothesis by again using fft() in MATLAB to plot the actual spectrum. If MATLAB differs from your..
Compare the market cap to your calculated value : Compare the market cap to your calculated value.
Explain the differences between the rates : For the most recent period, explain the differences between the rates
Research information about the services : Research information about the services provided by one county, one state, and one national public health organization.
Define direct marketing and give some real world examples : Define direct marketing and give some real world examples

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Build a simple revolvate robot

Define the robot as Robot.  Use the appropriate functions (i.e. methods) in the Robotics Toolbox - Generate a second pose and re-plot it.

  An image histogram for a color image

goal is to build an image histogram for a color image based on its 6-bit color code.

  Matlab – discrete time simulation

MATLAB – Discrete time simulation, solve  Discrete time syetm problem,  DT kalman filter problem,  Steady state DT kalman filter problem

  Design and explain a computer-based simulation model

Design and explain a computer-based simulation model which you will use to estimate the probability that among 25, 50, 75, 100, 500, or 1000 randomly chosen people, at least 2 people share the same birthday.

  Design a normalized lowpass analog filter

Design a normalized lowpass analog filter by using one of Matlab's routines: buttap, cheb1ap, cheb2ap, ellipap to get your analog poles

  Integration and random numbers

assemble 1,000 bolt + hole combinations. The bolts have a mean diameter of 1.000 cm, normally distributed with standard deviation of 0.010 cm. The holes have a mean diameter of 1.030 cm, normally distributed with standard deviation of 0.015 cm.

  Write a matlab program to generate a data file

1.) Write a Matlab program to generate a data file containing the names and corresponding telephone numbers of the customers. 2.) Using the data file created, write a program in Matlab to create a menu-driven facility to preform the following tasks

  Calculate and finalize using matlab

Estimate the rate of heat loss by breathing in kcal/hr. Also estimate the rate of water loss in gm/hr. Where A is from your student id number - calculate and finalize using matlab

  Write a function called crazygrade

Write a function called CrazyGrade that will take in the string and flip the grades according to the specifications - Define the inputs and outputs to each problem

  Function that will use the secant method to try to find

Create a function that will use the Secant method to try to find a root. (Hint modify the posted version of False Position.) Because this method may diverge

  Using matlab and for loops

Using MATLAB and for loops, provide an animation that follows the below steps: Start with a square at the origin with each side being 5 units long. Imagine someone kicked the box and animate it moving on a projectile motion trajectory. Hint: look at ..

  Find the laplace transforms

Find the Laplace transforms of the following functions - Find the partial fraction

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd