# T3vC - imwrite(newImg'myPicture CS1371 Computing for Engineers Test 3 Version C November 28th 2007 Page 2 of 2 Problem 3 – Sounds[25 Points 1 C 2

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

CS1371 - Computing for Engineers - Test 3 Version C November 28th, 2007 Page 1 of 2 CS 1371 Computing for Engineers Test 3 Version C Solution Problem 1 – Matrices [15 Points] Answer Line Number K 1 G 2 I 3 D 4 C 5 Problem 2 – Images [35 Points] I. 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 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'); CS1371 - Computing for Engineers - Test 3 Version C November 28th, 2007 Page 2 of 2 Problem 3 – Sounds [25 Points] 1. C 2. A, D 3. C 4. B, D 5. A Problem 4 – Numerical Methods [25 Points] D. index = polyfit(x, y, 1) newx = 1:0.1:10 newy = polyval(index, newx); plot(newx, newy) Plot Type of Curve (Write Option Here) Plot #1 D Plot #2 C Plot #3 B Plot #4 A...
View Full Document

## This note was uploaded on 05/08/2010 for the course CS 1371 taught by Professor Stallworth during the Fall '08 term at Georgia Institute of Technology.

### Page1 / 2

T3vC - imwrite(newImg'myPicture CS1371 Computing for Engineers Test 3 Version C November 28th 2007 Page 2 of 2 Problem 3 – Sounds[25 Points 1 C 2

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

View Full Document
Ask a homework question - tutors are online