- Questions »
- Accounting »
- Auditing »
- Program 2.3. MATLAB function for uniform...
6+ Users Viewed
1+ Downloaded Solutions
Maryland, US Mostly Asked From
Program 2.3. MATLAB function for uniform quantization encoding.function [ I, pq]= biquant (NoBits, Xmin, Xmax,value)% function pq = biquant (NoBits, Xmin, Xmax, value)% This routine is created for simulation of uniform quantizer.% NOBits: number of bits used in quantization.% Xmax: overload value.% Xmin: minimum value% value: input to be quantized.% pq: output of quantized value% I: coded integer indexL=2^NoBits;delta=(Xmax- Xmin)/L;I=round ((value-Xmin)/delta);if ( I==L)I=I-1;endif I
1 Approved Answer
Subhash P
5Ratings (11 Votes)
Solution :: Enter the following code in MATLAB [y fs]=audioread('speech.wav'); a=3; b=15; c=8; p=2/(2^a-1); q=2/(2^b-1); r=2/(2^c-1); xp=round(y/p)*p; xq=round(y/q)*q; xr=round(y/r)*r; sound(xp/max(abs(xp)),fs)...
Do you need an answer to a question different from the above? Ask your question!
Help us make our solutions better
Rate this solution on a scale of 1-5 star
X
Next Previous
Related Questions
Postedone year ago
- Q: (MATLAB Exercise) The goal of this MATLAB exercise is to compare uniform and μ-law quantizers on the basis of their SNRs. A convenient definition of a waveform (with duration L samples) SNR is: Note that the division by L, as required for... Posted one year ago
View Answer ►
- Q: (MATLAB Exercise) The goal of this MATLAB exercise is to experiment with the process of uniform quantization of a speech signal. This exercise uses the MATLAB function (from the book website):... Posted 4 months ago
View Answer ►
- Q: The short-time SNR of a signal, s[n], is defined as: where sˆ[n] is the sequence of quantized samples corresponding to s[n]. Figure P11.26 shows the first 4000 samples of s[n] from the speech file this_8k.wav with a sampling rate of FS = 8000... Posted one year ago
View Answer ►
- Q: 3.2. Look Up The Boiling Points Of The Compounds Below And Complete The Table. Compound Boiling Point Classify As Organic Or Inorganic Ethanol 78.24 Organic Sodium Carbonate 1,600 Inorganic 20 Octanoic Acid 239.7 Organic Ammonium Sulfate NA Inorganic... Posted 2 years ago
- Q: (MATLAB Exercise) The goal of this MATLAB exercise is to experiment with the process of μ-law compression of speech. Using the MATLAB function y=mulaw(x,mu), where: . x is the input signal . mu is the compression parameter . y is the μ-law... Posted 7 days ago
View Answer ►
Recent Questions in Auditing
- Q: Which of the following could impact your independence? Select all that apply. a.Your spouse’s pension investments. b.Stocks that your dependent child received as a birthday gift. c.Your dependent child’s investments made using a smartphone app.... Posted 6 months ago
View Answer ►
- Q: (i) Discuss any four short comings of a red flag.(8 marks) (ii) List five examples of a red flag to misappropriation of assets. (10 marks) (iii) Define Fraud and discuss its elements (10 marks) Posted one month ago
View Answer ►
- Q: KING’S OWN INSTITUTE* Success in Higher Education ACC707 AUDITING AND ASSURANCE T323 26/10/2023 Page 1 of 15 *AUSTRALIAN INSTITUTE OF BUSINESS AND MANAGEMENT PTY LTD © ABN: 72 132 629 979 CRICOS 03171A ACC707 AUDITING AND ASSURANCE T323 All... Posted 4 months ago
View Answer ►
- Q: P6-5 (Algo) Analyzing and Interpreting the Effects of Inventory Errors LO6-5 The statements of earnings for Pruitt Company summarized for a four-year period show the following (amounts in thousands of dollars): An audit revealed that in determining... Posted 3 days ago
- Posted 26 days ago
View Answer ►
- Q: 1. CLIENT NAME: Enter your answer 2. Period end Enter your answer 3. Date Enter your answer 4. Test performed by Enter your answer Duplicate this form to use as your own. Duplicate it This content is created by the owner of the form. The data you... Posted 2 months ago
View Answer ►
- Q: Which of the following relationships must you consider before you are assigned to an audit client that could impact your independence? a.Your spouse/spousal equivalent's employment relationship. b.Investments held by your non-dependent siblings and... Posted 6 months ago
View Answer ►
- Q: Which of the following could impact your independence? Select all that apply. a.Your dependent child's investment in a tracker fund, or ETF. b.The investments made by your financial planner on behalf of you or your spouse. c.Your spousal equivalent's... Posted 3 months ago
View Answer ►
- Q: Performance materiality means the amounts set by the auditor at __ materiality as per SA- 320. 1. More than 2. Less than 3. Equal to 4. He need not set such a level Answer:2 Posted one month ago
View Answer ►
- Q: Publication 5166, IRS Volunteer Quality Site Requirements, is the primary IRS resource for coordinator roles and responsibilities. True OFalse 3. Form 13615, Volunteer Standards of Conduct Agreement - VITA/TCE Programs is not valid until the... Posted 4 days ago
Submit your documents and get free Plagiarism reportPlagiarism Checker
more questions »