The average height or weight, Computer Engineering

A script kept information on potential subjects for an experiment in a vector of structures known as "subjects".  The following show an example of what the contents may be:
>> subjects
subjects =
1x3 struct array with fields:
    name
    sub_id
    height
    weight
>> subjects(1)
ans =
      name: 'Joey'
    sub_id: 111
    height: 6.7000
    weight: 222.2000

For this only experiment, the particluar subjects who are eligible are those whose height or weight is lower than the average height or weight of all subjects.  The script will print the names of those who are eligible.  Make a vector with sample data in a script, and then write the code to accomplish this. Don't suppose that the length of the vector is called as the code should be general.

Posted Date: 3/20/2013 1:47:31 AM | Location : United States







Related Discussions:- The average height or weight, Assignment Help, Ask Question on The average height or weight, Get Answer, Expert's Help, The average height or weight Discussions

Write discussion on The average height or weight
Your posts are moderated
Related Questions
Serial Execution Execution of a program consecutively, one statement at a time. In the easiest sense, this is what occurs on a one processor machine. However, even many of the

ENCTYPE="application/x-www-form-urlencoded" and in its place use ENCTYPE="text/plain". The subsequent illustration displays a general form which includes some of the commo

Backward Chaining - Artificial intelligence Given that we are just interested in constructing the path, we may set our initial state to be the theorem statement and search backw

What are interrupts?  Interrupt: An interrupt is a hardware mechanism which enables an external device, classically input/output devices, to send a signal to the CPU. An int

What is program controlled I/O? In program controlled I/O the processor repeatedly checks a status flag to achieve the needed synchronization among the processor and an input a

What is imprecise and precise exception? Situation in which one or more of the succeeding instructions have been implemented to completion is known as imprecise exception. Situ

create a BCD adder combinational ckt. that adds 2 digit BCD inputs

The Boolean expression A‾.B + A.B‾ + A.B is equivalent to ? Ans. The Boolean expression A‾ .B + A. B‾+ A.B is equivalent to A + B (A‾ .B + A. B‾+ A.B = B( A‾ + A) + A. B‾ =

Database marketing tool or application helps a user or marketing professional in determining the right tool or plan for his valuable add campaign. This tool haves data from all sou

Computer to computer transmission of structured data using standardised documentation is known as Electronic data interchange (EDI).