test02_spring08_4a

test02_spring08_4a - % y-value of x = 22.5 % x = [10 25]; y...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% 4/19/11 % Test 2 Fall09 #4a % % Linear: Given the points (10,15) and (25,30) in an xy coordinate system, % a) Write a script that uses linear interpolation to find the corresponding
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % y-value of x = 22.5 % x = [10 25]; y = [15 30]; yi = interp1(x,y, 22.5); y...
View Full Document

This note was uploaded on 05/01/2011 for the course HCSC 110 taught by Professor Amosjohnson during the Spring '11 term at Morehouse.

Ask a homework question - tutors are online