Question

please can you give me an example for below question using matlab to encode any PCM-based...

please can you give me an example for below question

using matlab to encode any PCM-based audio into MP3 format and Compare the sound quality between the two formats.

What compression ratio we can get with MP3?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

First use the audioread function to import your .mp3 file into your workspace. (You may have to use the double function to convert it before you modulate it.) Then use the Signal Processing Toolbox modulate function, choosing the 'amdsb-tc' method to modulate it as an amplitude-modulated double sideband transmitted carrier signal. Then use the demod function with the same method to demodulate it. If you want to implement these functions yourself without using the built-in functions, the documentation goes into appropriate detail to describe the methods it uses to calculate them.

Note:

wavread() already converts the file to digital form.

There is no problem multiplying a 1024 x 1 vector by a 1 x 1 scalar.

Add a comment
Know the answer?
Add Answer to:
please can you give me an example for below question using matlab to encode any PCM-based...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • PLEASE PLEASE,ONLY ANSWER THIS QUESTION IF YOU COULD GIVE ME THE MATLAB CODE.THANK YOU. Solve the...

    PLEASE PLEASE,ONLY ANSWER THIS QUESTION IF YOU COULD GIVE ME THE MATLAB CODE.THANK YOU. Solve the following ODE from x = 4 to x = 4.5 using a step size of h = 0.5 with non-self-starting Heun Method, where y(3.5) = 0.244898 and y(4) = 0.1875. List the values for the Predictor and the Corrector with three iterations only. Make sure you include 4 decimals in your answer. dy dx 3y + = 0 Example answer: 0.2500 X DO) pl...

  • MATLAB Program: Can somebody please answer the question for me? Using MATLAB A patient is waiting...

    MATLAB Program: Can somebody please answer the question for me? Using MATLAB A patient is waiting for a suitable matching kidney donor for a transplant. If the probability that a randomly selected donor is a suitable match is p = 0.1, simulate 1000 trials of the number of potential donors until a matching donor is found. Plot a histogram of the obtained sample.

  • The problem below is a MATLAB question, please do it only Matlab, if you are not...

    The problem below is a MATLAB question, please do it only Matlab, if you are not familiar with Matlab or not equipped with the program itself on your computer kindly leave it to someone who is. Please show me the Matlab codes for these two parts of the problem, I need to put them in same (m.file) so please consider that. Either you type the code or "preferably" you take a snip of your screen and post to teach me...

  • I have been trying to get help with this can someone give me or help me...

    I have been trying to get help with this can someone give me or help me with a PICOT question for patient safety measures and tools maybe focusing on the relationship between patient nurse ratio 1. Please help write the PICOT question for the relationship between patient safety and nurse ratio or staffing , PLEASE WRITE THE PICOT QUESTION FOR ME.....JUST THE QUESTION PLEASE HELP 2, is this a qualitative or quantitive design? 3.What level of evidence such as descriptive,...

  • I have been trying to get help with this can someone give me or help me...

    I have been trying to get help with this can someone give me or help me with a PICOT question for patient safety measures and tools maybe focusing on the relationship between patient nurse ratio 1. Please help write the PICOT question for the relationship between patient safety and nurse ratio or staffing 2, is this a qualitative or quantitive design? 3.What level of evidence such as descriptive, correlation, predictive, or experimental, predictive, quasi experimental? will give thumbs up for...

  • Can someone show me an example on how to fit a model using least square method...

    Can someone show me an example on how to fit a model using least square method in R, and make a plot to compare the observed and predicted value? 2. [20] Consider the car stopping distance example we studied in Section 2.2, with the model where d is the stopping distance, v is the velocity of the car before braking, tr is the response time, and k is a coefficient related to the ratio of the braking force and the...

  • Can anyone help me find the best answer for this question please "Give one example from...

    Can anyone help me find the best answer for this question please "Give one example from your own experience that the rate changes as a result of temperature. Explain what is going on"

  • QUESTION 6 please help MATLAB to and you 5. MATLAB can also solve second order equations...

    QUESTION 6 please help MATLAB to and you 5. MATLAB can also solve second order equations symbolically using the Symbolic packages. The help page https://www.mathworks.com/help/symbolic/solve-a-single-differential-equation. html#f1-11214 shows examples of how this works. Code this up for the same equation and see if you get the same answer. If you don't (and you probably won't), try simplifying the answer after you get it to see if it matches then. Note: You'll need to define the symbolic function y(t) here in order...

  • The question is about C Programming. Can you give me an example in c, the requirements...

    The question is about C Programming. Can you give me an example in c, the requirements are: The program need to provide users with the ability to create an account. An account should be a structure type variable containing: a username, a password. Please provide more explains about some steps, and write in C. Thank you!

  • Could you please answer these question in a manager's perspective? Give me an example of a...

    Could you please answer these question in a manager's perspective? Give me an example of a time you managed numerous responsibilities. How did you handle that?

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT