3. Create a file named toneA.m with the following MATLAB code: clear all FS-8000; Ts=1/Fs; t=[0:...
Fantastic news! We've Found the answer you've been seeking!
Question:
![3. Create a file named "toneA.m" with the following MATLAB code: clear all Fs=8000; Ts=1/Fs; t=[0: Ts: 2];](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/answers/2023/10/651dc64da3eef_125651dc64da04e3.jpg)
Transcribed Image Text:
3. Create a file named "toneA.m" with the following MATLAB code: clear all FS-8000; Ts=1/Fs; t=[0: Ts: 2]; F_A=440; A sin (2 pi*F_A*t); sound (A, Fs); Type tone at the command line and then answer the following: (a) What is the value of Ts? What does Ts represent? (b) "A=- Modify toneA.m by changing "A-sin (2 pi*F_A*t)" to sin (2 pi*F_A*t)". Can you hear any difference? (c) The frequencies of notes B, C#, D, E and F# are 493.88 Hz, 554.37 Hz, 587.33 Hz, 659.26 Hz and 739.99 Hz, respectively. Write a MATLAB file named "song.m" to produce a piece of music with notes in the following order: A, A, E, E, F#, F#, E, E, D, D, C#, C#, B, B, A, A. Assign the duration of each note as 0.3s. Frequency of note A is 440 Hz 3. Create a file named "toneA.m" with the following MATLAB code: clear all FS-8000; Ts=1/Fs; t=[0: Ts: 2]; F_A=440; A sin (2 pi*F_A*t); sound (A, Fs); Type tone at the command line and then answer the following: (a) What is the value of Ts? What does Ts represent? (b) "A=- Modify toneA.m by changing "A-sin (2 pi*F_A*t)" to sin (2 pi*F_A*t)". Can you hear any difference? (c) The frequencies of notes B, C#, D, E and F# are 493.88 Hz, 554.37 Hz, 587.33 Hz, 659.26 Hz and 739.99 Hz, respectively. Write a MATLAB file named "song.m" to produce a piece of music with notes in the following order: A, A, E, E, F#, F#, E, E, D, D, C#, C#, B, B, A, A. Assign the duration of each note as 0.3s. Frequency of note A is 440 Hz
Expert Answer:
Answer rating: 100% (QA)
Certainly Here are the answers to your questions and the modified code for the MATLAB files a The va... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
26) Explain the concept of depreciation. Include in your discussion one common misconception regarding depreciation and its impact on the finances of a business. 27) For each of the independent...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Use the attached "words.txt" file to store the words along with their ranks in an AVL tree. Then provide the user the option to search for any word. If the word exists the program displays the rank...
-
Use normal job-order costing to calculate the balance in the ending Work-in-Process account and the Cost of Goods Sold account on 31 December 20X3 after any necessary adjustment(s). Sweet Memories...
-
Unskilled workers in a poor cotton-growing region must choose between working in a factory for $6,000 a year and being a tenant cotton farmer. One farmer can work a 120-acre farm, which rents for...
-
Coca-Cola is an extremely popular soft drink consumed all over the world. Therefore, probably someone, somewhere, is drinking a Coke right this minute. The following arguments are inductive....
-
What is the accommodation approach to dealing with conflict? When is it most useful? When is it not appropriate? AppendixLO1
-
How is an organization like an iceberg? Use the iceberg metaphor to describe the field of organizational behavior.
-
QUESTION 1 ( 2 0 Marks ) 1 . 1 REQUIRED Use the first - in - first - out ( FIFO ) method of inventory valuation to complete the following table for the purchases and issues of components stated...
-
Joe and Jessie are married and have one dependent child, Lizzie. Lizzie is currently in college at State University. Joe works as a design engineer for a manufacturing firm while Jessie runs a craft...
-
What is IBM's expected rate of return? Show for the next next five years using a stock price of $121.73, using the constant growth model to estimate the rate of return.
-
Scenario : Wanda, a BCBA, is updating an intervention plan for a leaner on her caseload to submit for insurance funding authorization. Part of the plan includes the completion of an adaptive...
-
a) how can your company accommodate generational or gender difference within your company ? b) how can your company accommodate communication and or language difference within your company ?
-
3. Consider the following data for two catalysts, A and B. The temperature is 25 C and the reaction occurs at standard conditions. a. Make a Tafel plot and determine the Tafel slope. Estimate the...
-
How consumption can be helpful in facilitating the construction of your identity? Explain the ways in which the symbolic meanings, connected with your consumption choices are important to you? Is...
-
Cataumet Boats, Inc. Jaime Giancola had just completed the first half of her MBA program and wanted to work on a project during the summer that would give her some practical experience applying what...
-
You have taken a 20-year $300,000 mortgage loan today at 0.25% monthly interest rate. You will repay the entire loan amount over the next 20 years by making equal monthly payments of $1,663.79 at the...
-
Design and describe an application-level protocol to be used between an automatic teller machine and a bank's centralized computer. Your protocol should allow a user 's card and password to be...
-
Bea Jones (age 32) moved from Texas to Florida in December 2011. She lives at 654 Ocean Way, Gulfport, FL 33707. Bea's Social Security number is 466-78-7359 and she is single. Her earnings and income...
-
Patty Bayan is a single taxpayer living at 543 Space Drive, Houston, TX 77099. Her Social Security number is 466-33-1234. For 2012, Patty has no dependents, and her W-2 from her job at a local...
-
Cypress Corporation has regular taxable income of $170,000 (assume annual gross receipts are greater than $5 million) and regular tax liability of $49,550 for 2012. The corporation also has tax...
-
What do these classes of ratios measure? (a) Liquidity ratios. (b) Profitability ratios. (c) Solvency ratios. AppendixLO1
-
(a) Ruth Weber believes that the analysis of finan- cial statements is directed at two characteristics of a company: liquidity and profitability. Is Ruth correct? Explain. (b) Are short-term...
-
Holding all other factors constant, indi- cate whether each of the following signals generally good or bad news about a company. (a) Increase in earnings per share. (b) Increase in the current ratio....
![Mobile App Logo](https://dsd5zvtm8ll6.cloudfront.net/includes/images/mobile/finalLogo.png)
Study smarter with the SolutionInn App