Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

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.

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M91521211
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in MATLAB

Assignment -matlab codes and simulated model in

Assignment - Matlab codes and simulated model in simulink/matlab and truetime. 1. Matlab codes and simulink model for pid controller optimization using particle swarm optimization (PSO) my plant is integer order 1000/(s^ ...

Suppose that a student has the option of enrolling for a

Suppose that a student has the option of enrolling for a single elective during a term. The student must select a course from a limited list of options: "English, " "History, " "Biology, " "Computer, " or "Math." Constru ...

What comparison of means test was used to answer the

What comparison of means test was used to answer the question

Discrete optimisation- solve the following two problems

Discrete Optimisation - Solve the following two problems with both exhaustive enumeration and branch and bound - Problem 1 is a mixed integer linear optimisation problem (the problem has both discrete and continuous vari ...

Question a safe prime is a prime number that can be written

Question : A safe prime is a prime number that can be written in the form 2p + 1 where p is also a prime number. Write a MATLAB script file that finds and displays all safe primes between 1 and 1000.

Assignmentafter the success of your robo-advice venture you

Assignment After the success of your robo-advice venture you decide to explore alternative sources of profitability for your company. You realize that Australian investors are often forced to chose between expensive acti ...

Assignment -we have daily gridded rainfall data of 40 years

Assignment - We have daily gridded rainfall data of 40 years and structure of the dataset is like below; Lat = [6.5:0.25:38.5]; Lon = [66.5:0.25:100]; Rainfall (135x129x365x40) (Lon, Lat, days, years). Now, we looking fo ...

Assignment -data is given on which want to do computational

Assignment - Data is given on which want to do computational production planning using Metaheuristic MATLAB Programming: 1) Ant Colony Algorithm on both Partial and Total Flexible Problem. 2) Bee Algorithm on both Partia ...

Question 1 manipulate spectral imagehyperspectral images

Question 1. Manipulate spectral image Hyperspectral images can be seen as a generalisation of normal colour images such as RGB images. In a normal RGB colour image, there are 3 channels, i.e. channels for red colour, gre ...

Question - verify the attached paper with matlab and get

Question - Verify the attached paper with matlab and get all the results in the paper and explain step by step the matlab code. Paper - Improving Massive MIMO Belief Propagation Detector with Deep Neural Network. Attachm ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As