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
What are the Counters? 1. The Counter is a sequential circuit which consists of a set of flip flops connected in a appropriate manner to count the sequence of input pulses.

Implication connective - Modus ponens rule: We notice that this is a trivial example, so it highlights how we use truth tables: as the first line is the only one when both abo

Segment Combinations In 8086 assembler provides a means for combining segments declared in various modules. Some typical combine types are: 1.   PUBLIC: This combine directi

Register-to-Register Architecture : In this organization, results and operands are accessed not directly from the main memory by the scalar or vector registers. The vectors which a

What is the maximum and minimum number in the range of a 7-digit number for each of the following cases? Express all numerical answers in both the original base and its decimal (ba

What are the two phases in the advancement of Linux? State some Applications of Open Source Systems? Finance Educational Data Storage and Management ERP (Ent

To execute sparse matrix dynamically, Which data structure is used Linked List data structure is used to execute sparse matrix dynamically

Reading Decision Trees: However we can justified by see that a link between decision tree representations and logical representations that can be exploited to make it easier t

Fifth Generation (1984-1990) The advancement of the next generation of computer systems is characterized majorly by the acceptance of parallel processing.  Until this time para

What are the types where relationship exists in Electronic Market Place? In this two forms of relationships can exist, they are: a. Customer/seller linkage is recognized at