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

  Write a matlab program that produces the sum of square

Write a Matlab program that produces the sum of square of all the even numbers and cube of all the odd numbers between 1 to 100.

  Calculate the distance between cities

Calculate the distance between cities

  Plot the lines using the inputted vector of x values and x

Write a function named solveSystem that has three inputs: two vectors consisting of coefficients [a b c] of two line equations of the form ax + by = c and a vector of x values.

  When a fast-breeder reactor is shut down quickly the

when a fast-breeder reactor is shut down quickly the temperature of the surface of a number of components drops from

  Receives one number as an input argument

Write a function per2 that receives one number as an input argument. The function has a persistent variable that sums the values passed to it. Here are the first two time the function is called

  Write the matlab code to create the vector

Write the MATLAB code to create the vector [2,4,6,...,98,100] and store it in a variable named x(Hint: There is a shorthand notation for regularly spaced vectors)

  F data into matlab using only the textread function?

load the following type of data into mathlab using ONLY the textread funcion? Need to import it and plot it using boxplot.

  The matlab language has the built-in ability

The MATLAB language has the built-in ability to perform mathematical operations on complex numbers. However there are times when it is useful to treat complex numbers as structures.

  Create functions in file

Create Functions in File and how to code this function - Declare function inputs, and outputs

  Anatomy of a machine

Need a Machine Learning application written in matlab to be able to predict, based on certain selected features of wine, which variants of wine are likely to score above a 5 out of 10 quality score.

  Create an output array using input x values 1 through 10

The function is y=(x)/(sqrt(x)), create an output array using input x values 1 through 10. I can't seem to get this to work for some reason...

  Using matlab draw an open-loop bode diagram and find the

an armature-control dc motor is used in a position control system. the transfer functions of the controller and process

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