Unit12 Lab B

# Unit12 Lab B - Prob8_B_11 function...

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

Prob8_B_11 function Prob8_B_11(studentsGrad_yr1, projEnrollV, projNotFulV) % create a plot of modeling results for students graduating % over the next 15 years. Modeling relation is as follows. % numGrad(YR) = projNotFulfill(YR-1) . .. % + projEnrollV(YR) . .. % - projNotFulV(YR) % INPUT: studentsGrad_yr1, scalar, number of Yr1 graduates % projEnrollV, vector, N elements, the enrollment % projected for the senior class % projNotFulV, vector, N elements, number of % students not meeting requirements % generates a graph of number graduated for N years. % sample call: % yr1_grads = 90; % enrollment = [95, 81, 76, 88, 96, 121, 133, . .. % 112, 91, 89, 79, 74, 91, 121, 75]; % notFulfilling = [5, 6, 3, 10, 7, 4, 6, 8, 8, . .. % 3, 4, 3, 2, 10, 8]; % Prob8_B_11(yr1_grads, enrollment, notFulfilling) numGrad(1) = studentsGrad_yr1; numYears = length(projEnrollV); for yrCounter = 2:numYears numGrad(yrCounter) = projNotFulV(yrCounter - 1) . .. + projEnrollV(yrCounter) .

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.

## This homework help was uploaded on 03/30/2008 for the course CSE 131 taught by Professor Sticklen during the Spring '08 term at Michigan State University.

### Page1 / 3

Unit12 Lab B - Prob8_B_11 function...

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

View Full Document
Ask a homework question - tutors are online