# t3vM - imwrite(newImg'myPicture Problem 3 – Sounds[25...

This preview shows pages 1–2. Sign up to view the full content.

CS1371 - Computing for Engineers - Test 3 Version M November 28th, 2007 Page 1 of 2 CS 1371 Computing for Engineers Test 3 Version M Solution Problem 1 – Matrices [15 Points] Answer Line Number G 1 K 2 H 3 J 4 C 5 Problem 2 – Images [35 Points] I. 20 40 60 80 100 20 40 60 80 100 20 40 60 80 100 20 40 60 80 100 20 40 60 80 100 20 40 60 80 100 20 40 60 80 100 20 40 60 80 100 II. function meanImage(filename) img = imread(filename); newImg = uint8(double(img(:,:,1)+img(:,:,2)+img(:,:,3))/3);

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: imwrite(newImg, 'myPicture.jpg'); Problem 3 – Sounds [25 Points] 1. A 2. A, D 3. C 4. B, D 5. B CS1371 - Computing for Engineers - Test 3 Version M November 28th, 2007 Page 2 of 2 Problem 4 – Numerical Methods [25 Points] D. newx = 1:0.1:10 newy = interp1(x, y, newx); plot(newx, newy) Plot Type of Curve (Write Option Here) Plot #1 D Plot #2 A Plot #3 C Plot #4 B...
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

t3vM - imwrite(newImg'myPicture Problem 3 – Sounds[25...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online