Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Competency In this project, you will demonstrate your mastery of the following competencies: Interpret the properties of vector spaces Utilize advanced matrix techniques to solve

Competency
In this project, you will demonstrate your mastery of the following competencies:
Interpret the properties of vector spaces
Utilize advanced matrix techniques to solve complex linear problems
Scenario
You are employed as a computer programmer for a popular social media site that stores a large amount of user media files. You believe you have found a way to reduce costs by compressing image files using singular-value decomposition (SVD). The compressed files vopild require less storage space, which would result in savings for the company. You think it will work, but you want to test your theory and rebord the steps you take to use as a reference when sharing your idea with management.
Directions
In order to guarantee that management fully understands the process, you have mapped out the following steps to ensure you have captured the process and have data to support your findings and to share with management. Your plan is to demonstrate computations on a simple 33 matrix where the computations are easier to follow. Then you will perform similar computations on a large image to compress the image data without significantly degrading image quality.
To develop your idea proposal, work the problems described below. As you complete each part, make sure to show your work and carefully describe how you arrive at your final answer. Any MATLAB code or MATLAB terminal outputs you generate should be included in your idea 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 {ulu2u3]. Use MATLAB to compute the dot product d1=dot(u1,u2). Also, use MATLAB to compute the cross product c=cros(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 imagemat 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.
Disnlay the image and compute the root mean square error (RMSE) between the approximation and the original image. Make sure to
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

Database Horse Betting The Road To Absolute Horse Racing 2

Authors: NAKAGAWA,YUKIO

1st Edition

B0CFZN219G, 979-8856410593

More Books

Students also viewed these Databases questions

Question

Explain how classical conditioning can be used to manage a brand.

Answered: 1 week ago