Enge_1114_HW19_(prog9)

Enge_1114_HW19_(prog9) - 12:20 M | EngE 1114 HW 19 | 2...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Given: Number of objectives, Name and weight of each objective, and number of designs an their ratings for each objective. Required: MatLab Code and Sample Run Solution: 12:20 M | EngE 1114 HW 19 | 2 April, 2006 | Konzik, Kit | /
Background image of page 1

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

View Full DocumentRight Arrow Icon
%This program is designed to create and evaluate a decisioin matrix  where  %the number of objective, weight of objectives, number of designs, and  %rating for each design in each objective are entered by the user.    NumberCriteria = input( 'Enter the number of objectives:' ); for  (j = 1:1:NumberCriteria)      Name{j} = input( 'Enter objective name: ' , 's' );     fprintf( 'Enter weight for %s objective: ' ,Name{j});     Weight(j) = input( '' ); end   NumberDesigns = input( 'Enter the number of designs to be evaluated: ' ); for  (i = 1:1:NumberDesigns)       for  (j = 1:1:NumberCriteria)         fprintf( 'Enter the rating for design #%.0f for %s:  ' ,i,Name{j});         Rate(i,j) = input( '' );      end   end  
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/01/2008 for the course ENGE 1114 taught by Professor Twknott during the Spring '06 term at Virginia Tech.

Page1 / 3

Enge_1114_HW19_(prog9) - 12:20 M | EngE 1114 HW 19 | 2...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online