Human activity (MATLAB) Essay Example
- Category:Engineering and Construction
- Document type:Assignment
HUMAN ACTIVITY 10
Table of Contents
74.0 Computer code
74.1 To normalize and to validate
84.2 To perform vibration
95.0 Recommendation and conclusion
Over the years, there is has been a change in technology in almost every field. The world of sport has not been left behind since automation and other high tech machines have been employed to help people with exercises. For instance; cameras are used in football games to assist referees to identify faults in the game (Ross, S. 2011, 24). This is done by the replay by the cameras. Also sensors are used in athletics to detect who crosses the line after the other. In the process one`s speed can be monitored electronically to tell the speed at which one is moving.
In crickets, replays in certain situations have been done to assist the umpires to make the right call. Those umpires who are not in the field are in the communication with wireless communication devices. Also there is another technology known as hawk eye (Ross, S. 2011, 29). This is a computer with very high speed connected to a camera whose function is to mainly track the trajectory made by the ball. This is a technology that has been employed in tennis and cricket. Hawk eye was used in the year 2015 in the rugby to assist the referee with decision making since it would enhance their accuracy (Magdalinski, T. 2009, 246).
Technology has also been used to assist in increasing the safety of the sportsmen. For example, balls kept to have the right pressure less it would kills someone after it has been hit hard by an opponent. In sky jumping right heights are also known so that those who sky dive do jump off at very high heights or very low height (Kerr, R. 2014, 356). In deep sea diving, there are certain depths that man cannot survive due the high hydraulic pressure technology used to monitor those depths.
In smart phones; applications have been made such as accelerometer to assist athletes know their speeds
In this exercise the following human activity will be monitored to help come up with a very good and comprehensive conclusion about human activity;
During those activity, vibration of made will be observed and recorded. The recorded data was then used draw graphs using mat lab application software.
The vibration app by diffraction limited was the application used to help determine and monitor human behavior.
Human body reacts different when carrying different activities. For example when one is at rest, the body would vibrate different from when they are running or resting (KERR, R. 2014, 376). The reason for the above is that more energy is needed when carrying out some activities compared to the others.
The application was installed on the phone of one of the test subjects. The application was made in such a manner that its orientation would be used to tell when one is standing or resting while lying down. To differentiate between running and walking, the rate of vibration would assist. When one is running, he or she would tend to shake more vigorously compare to when he or she is walking. When one is sitting, the vibrations are cut to almost zero only the heart beats could be detected.
In some instances activities such drinking, eating or writing would not make one shake or vibrate so much. Such activities for the purpose of the exercise could be classified as resting or idling. In some instance, when one is sleeping he or she could take breaths that are so deep that it could be mistaken for a walk. Such instances would still be classified as rest or idling.
The vibrations or the shaking would be observed and recorded in excel using the same application. Using mat lab, graphs would be drawn, to help distinguish the different behaviors. The graphs will then be discussed.
The frequencies for all this activities were set at given limit. For example while resting, the following could be happening; one could be sited, walking or lying down. The three activities have to be given a range of frequency say 10MHZ to 25MHz.while one walking the frequency have to be set a given range say 26MHz to 35MHz. As for running the frequency can be set to 36MHz and above.
The set frequency was to help sense when the activity is changed automatically with no one having to monitor those events. There could be an overlap frequencies for instance when one is walking fast, it could be mistaken for running at low speed.
The time speed spend in activity is recorded in excel and the data used for plotting several graphs in matlab.
The algorithm is quite simple. The only thing the sensor is doing is to detect a given range of frequencies and then classify them either as running, walking or resting and idling.
The application’s function is to show what activity is taking place and it records the time of activity. From the algorithm it can be seen that, for the frequency range between 10MHz to 25 MHz, the activity is classified as idling or rest, for frequency range more than 25 MHz but less or equal to 35 MHz they are classified as walking. For the frequencies more than 35 MHz the activity is classified as running. The application has been made to detect vibration and depending on the extent of vibration, the activity is determined (THOMPSON, G. 2001, 578). As for the activities whose frequencies overlapped with others, they were taken to be errors and could be ignored.
4.0 Computer code
Pattern in vibrations are the first argument in the method ;(vibration)
Valid pattern are as a result of action of passing pattern to normalize and validate; validate and normalize
If the attribute which is hidden is set to be true, a return false is expected and the steps are terminated; hidden
If the pattern is valid, vibration is performed; perform vibration
4.1 To normalize and to validate
If the pattern detected is a list, then can proceed to next step. If otherwise
empty the list and add a pattern to it
then set the pattern to the list
maximum length is implemented
In the event that the length of the pattern tends to be greater than the maximum length, truncate.
Let the implementation to be max duration. This is dependent for a single vibration entry.
If the values for entry pattern are greater than the max length the value is to be set at max length.
Then there is return pattern
4.2 To perform vibration
During implementation, there may be a false return. That would make the steps to be terminated.
When in another instance to perform vibration and the algorithm is running the following sub steps should be run
Abort another instance of perform vibration, if there is any
It then the pattern is empty, or it contains a single entry or there is no vibration on the device, return true and the steps can be terminated.
A return true is expected and the step can be run continuously asynchronous.
For each and every time, the following steps should be run
When the index of time becomes even, the device is vibrated for a millisecond
Otherwise, it should wait for time millisecond
5.0 Recommendation and conclusion
According to the exercise performed it can be shown that a person has different vibration frequencies when performing varies exercises (MIAH, A. 2002, 158). This information could be used to further research on various electronic devices which would aid in sports and athletics. This would be for the good of the sportsmen and those interested in such games.
KERR, R. (2014). Sport and technology: an actor-network theory perspective. [Place of publication not identified], Bloomsbury.
MAGDALINSKI, T. (2009). Sport, technology and the body: the nature of performance. London, Routledge.
MIAH, A. (2002). Sport technology: history, philosophy and policy. Amsterdam [u.a.], JAI.
ROSS, S. (2011). Sports technology. London, Evans.
THOMPSON, G. (2001). Sports technology. Southbank, Vic, Nelson Thomson Learning.
More Important Things