Quiz Unit 7B

# Quiz Unit 7B - numbers of the employees 2 A row vector of...

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

Student Matlab Assignment Unit07_LabB_miniquiz 1. You will have 20 mins to do this miniquiz. This miniquiz will be autograded. You are the head of the HR department of your company. You want to analyze the salaries of highly paid employees. Specifically, you are given a list of employee IDs and their corresponding salaries. You want to find out how many employees have salary above a specific value, and also want their ID numbers so you can investigate them further. Write a MATLAB function, called FindHighPaid.m , that takes the following three inputs in the order given: 1. A row vector of length greater than or equal to 1 containing the ID
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: numbers of the employees. 2. A row vector of the same length as the length of the first input, containing the corresponding salaries (in \$) of the employees. 3. A scalar value which is the minimum salary (in \$) you are looking for. and produces the following two outputs in the order given: 1. A row vector containing the ID numbers of all the employees that have salary greater than or equal to the given minimum salary. 2. A scalar which is the total number of employees that have salary greater than or equal to the given minimum salary. Possible Points: 10...
View Full 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.

Ask a homework question - tutors are online