{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lab 3

# lab 3 - optimal deblurring length is 340 h =...

• Notes
• ProfessorResolvePartridge10091
• 2
• 100% (3) 3 out of 3 people found this document helpful

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

ECE 101 - Linear Systems, Winter 2009 Lab # 3 Solutions (send comments/questions to [email protected]) n = 340 200 400 600 100 200 300 400 500 600 n = 140 200 400 600 100 200 300 400 500 600 n = 540 200 400 600 100 200 300 400 500 600 n = 0 200 400 600 100 200 300 400 500 600 The length for“deblurring” is 340. Incorrect values result in overlaid images, resulting in a smear for the original picture. The portrait is of Colin Powell, former Chairman of the Joint Chiefs of Staﬀ as well as the former Secretary of State. The code for producing the ﬁgures is found below. 1

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

View Full Document
% lab 3, ECE101, Winter, 2009 clear all load -mat lab3.mat % % Plot for a deblurring length of 340, 140, 540, and 0
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % optimal deblurring length is 340 % h = diag_matrix(340,693); hi = inv(h'); pic1 = pic*hi; subplot(2,2,1);image(pic1); colormap(map); axis image ; title( 'n = 340' ); h = diag_matrix(140,693); hi = inv(h'); pic1 = pic*hi; subplot(2,2,2);image(pic1); colormap(map); axis image ; title( 'n = 140' ); h = diag_matrix(540,693); hi = inv(h'); pic1 = pic*hi; subplot(2,2,3);image(pic1); colormap(map); axis image ; title( 'n = 540' ); subplot(2,2,4);image(pic); colormap(map); axis image ; title( 'n = 0' );...
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

lab 3 - optimal deblurring length is 340 h =...

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

View Full Document
Ask a homework question - tutors are online