{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

E7_Lab07_Solutions_Fall_2010

# E7_Lab07_Solutions_Fall_2010 - Contents Note to grader...

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

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

View Full Document

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: Contents Note to grader: Problem 1 Problem 2 Problem 3 problem 4 Problem 5 Problem 6 Problem 7 % Solution for Lab07 format compact Note to grader: For problem 6, if students used view angle of (30, 30), please don't deduct points for the view angle. I have a typo in the original version of problem description. Sorry for inconvenience. Problem 1 figure; plot([1 3 5 7 9], [2 4 6 8 10]); grid on axis([-1 10 0 11]); title( 'Fig1a' ); xlabel( 'x' ); ylabel( 'y' ); figure; x = linspace(0.05, 0.5, 50); y = sin(1./x); plot(x, y); grid on axis([0 0.5 -1 1]); title( 'Fig1b' ); xlabel( 'x' ); ylabel( 'y' ); figure; x = logspace(log10(0.05), log10(0.5), 50); y = sin(1./x); plot(x, y); grid on axis([0 0.5 -1 1]); title( 'Fig1c' ); xlabel( 'x' ); ylabel( 'y' ); % Fig1c does a better job than Fig1b, becasue the logspace funct % more data points than linspace function in the samll x value r % example from x=0.05 to x=0.15, linspace function only gives 11 % points, but logspace function gives 24 data points. Problem 2...
View Full Document

{[ snackBarMessage ]}

### Page1 / 10

E7_Lab07_Solutions_Fall_2010 - Contents Note to grader...

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

View Full Document
Ask a homework question - tutors are online