House - if quality > theMax theMax = quality y = y + 1...

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

View Full Document Right Arrow Icon
Sheet1 Page 1 clear clc load houses.mat theMax = 0 x = 1 y = 1 while x <= length(prices) quality = (sizes(x)/(prices(x)*crime_rate(x)))
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: if quality > theMax theMax = quality y = y + 1 end end x = x + 1 end toBuy = houses(y)...
View Full Document

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

Ask a homework question - tutors are online