Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please help with the code and the questions under it , thanks , 2.1.2 Log spectrum of triangular wave 1. Use MATLAB to generate a

please help with the code and the questions under it , thanks ,

image text in transcribed

2.1.2 Log spectrum of triangular wave 1. Use MATLAB to generate a log-scale spectrum of your triangular wave. Note that MATLAB will auto- matically set the minimum and maximum values of your color scale. To make a clearer plot, it is helpful to limit the dB range of the plot to 80 dB. You can do this by finding the maximum of the color scale that MATLAB used and setting the minimum and maximum values of the color axis accordingly. The following short section of code does this. You can use help or doc to learn more about any of the commands. cx=caxis; maxc=max (cx); caxis ( [maxc-80 maxc]) colorbar 2. Answer the following questions: (a) How many harmonics can you see in the log-scale plot of the spectrogram? Provide a list of the frequencies you observe or a general formula. (b) Consider the ratio of the first and third Fourier series coefficients on a log scale, i.e., 20 log10 lat - What is the ratio equal to in dB? Does this agree with your log-scale spectrogram plot? (c) Determine the ratio of the 1st and 15th Fourier series coefficients, i.e., 20 log10 What is this ratio in dB? Does this agree with your log-scale plot? (d) Based on your observations can you say how the log-scale helps to visualize the spectrum of the triangular wave signal? 015 ai 2.1.2 Log spectrum of triangular wave 1. Use MATLAB to generate a log-scale spectrum of your triangular wave. Note that MATLAB will auto- matically set the minimum and maximum values of your color scale. To make a clearer plot, it is helpful to limit the dB range of the plot to 80 dB. You can do this by finding the maximum of the color scale that MATLAB used and setting the minimum and maximum values of the color axis accordingly. The following short section of code does this. You can use help or doc to learn more about any of the commands. cx=caxis; maxc=max (cx); caxis ( [maxc-80 maxc]) colorbar 2. Answer the following questions: (a) How many harmonics can you see in the log-scale plot of the spectrogram? Provide a list of the frequencies you observe or a general formula. (b) Consider the ratio of the first and third Fourier series coefficients on a log scale, i.e., 20 log10 lat - What is the ratio equal to in dB? Does this agree with your log-scale spectrogram plot? (c) Determine the ratio of the 1st and 15th Fourier series coefficients, i.e., 20 log10 What is this ratio in dB? Does this agree with your log-scale plot? (d) Based on your observations can you say how the log-scale helps to visualize the spectrum of the triangular wave signal? 015 ai

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions

Question

What is a goal-based model of curriculum planning?

Answered: 1 week ago

Question

Discuss the evolution of global business.

Answered: 1 week ago

Question

What must a creditor do to become a secured party?

Answered: 1 week ago

Question

When should the last word in a title be capitalized?

Answered: 1 week ago