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
Illustrated about the layered architecture of Electronic Data Interchange? Layered Architecture of EDI: Electronic Data Interchange is most commonly applied into th

What are the Structural Notations These notations comprise static elements of a model. They are considered as nouns of UML model that could be conceptual or physical. Their ele

Explain Turing reducibility?  Exponential time algorithms typically happens when we solve by searching by a space of solutions known as brute -force search

Define the node of object oriented modeling A node is a physical element which exists at runtime and represents a computational resource usually having a large memory and often

Illustrate how 74147 series TTL can be used as a decimal-to-BCD encoder. Ans. Available IC in 74 series is 74147 that is a priority encoder. Such IC has active low inp

Explain DOS function call with one illustration DOS function call In order to use DOS function calls, always place function number into register AH and load all other re

Explain Three-Way Handshake Mechanism used by TCP to terminate a Session reliably. Just to guarantee that connection is sets up or terminated reliably, transfer control protoco

What are privileged instructions?  Some of the machine instructions that might cause harm to a system are designated as privileged instructions. The hardware permits the privil

Draw the logic diagram of 4-bit Twisted Ring counters and explain its operation with the help of timing diagram. Ans: Twisted ring counter (4 BIT): We ready know that shi

What is the decimal equivalent of hex number 1A53 ? Ans. 6739 is the decimal equivalent of Hex Number 1A53. From Hex Number to Decimal Number conversion is shown below: 1