Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

proposal to support your answers and work. Consider the matrix: 3 3 : A = [ 1 2 3 3 3 4 5 6 7

proposal to support your answers and work.
Consider the matrix: 33 :
A=[123334567]
Use the svd() function in MATLAB to compute A1, the rank-1 approximation of A. Clearly state what A1 is, rounded to 4 decimal places. Also, compute the root mean square error (RMSE) between A and A1.
2. Use the svd() function in MATLAB to compute A2, the rank-2 approximation of A. Clearly state what A2 is, rounded to 4 decimal places.
Also, compute the root mean square error (RMSE) between A and A2. Which approximation is better, A1 or A2? Explain.
3. For the 33 matrix A, the singular value decomposition is A=USV' where U=[u1u2u3]. Use MATLAB to compute the dot product d1=dot(u1,u2). Also, use MATLAB to compute the cross prodc=cross(u1,u2) and dot product d2=dot(c,u3). Clearly state the values for each of these computations. Do these values make sense? Explain.
4. Using the matrix U=[u1u2u3], determine whether or not the columns of U span R3. Explain your approach.
5. Use the MATLAB imshow() function to load and display the image A stored in the provided MATLAB image.mat file (available in the Supporting Materials area). For the loaded image, derive the value of k that will result in a compression ratio of CR~~2. For this value of k, construct the rank-k approximation of the image.
6. Display the image and compute the root mean square error (RMSE) between the approximation and the original image. Make sure to include a copy of the approximate image in your report.
7. Repeat steps 5 and 6 for CR~~10,CR~~25, and CR~~75. Explain what trends you observe in the image approximation as CR increases and provide your recommendation for the best CR based on your observations. Make sure to include a copy of the approximate images in your report.
What to Submit
To complete this project, you must submit the following:
Use the provided Project Two Template as the starting point for your project solution. Complete each portion of the template, run the project, and then export your work as a single PDF file. Upload this PDF document that shows your answers and supporting work for the problems described above. Make sure to include explanations of your work, as well as all MATLAB code and outputs of the computations.
Search
image text in transcribed

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions