The results you get from ginput will need to be rounded to

Assignment Help Mechanical Engineering
Reference no: EM13625028

Description:
The program for this assignment comes from a research project I did while I worked at KUMED. A researcher was studying stroke patients and their ability to regulate the forces used to lift something. Here's the motivation:
"When we lift something, we use an internal model to estimate how heavy it will be and we pre-program our grip forces. Once we've lifted something once or twice, we are really accurate in the forces we use. This is important because if a person doesn't apply enough grip force the object will slip out of their hand. If we apply too much we could damage the object. The same is true of the lifting force. If we were to apply too little force, we wouldn't be able to lift the object. Too much and we might throw it over our shoulder! People who have suffered a stroke have impaired brain function. We want to find out whether their ability to program their forces is affected."
A novel grip device was designed (see Figure 1). The device has two sensors, one in each grip pad. As a person grips and attempts to lift the device, the forces they exert are recorded.
To help with this problem here are some things to note:
• Figure 2 shows typical forces for a lift trial. The grip force has an initial peak and then stabilizes. It is the stable region that we will use to determine if the force applied is accurate.
• The object mass is 265g. To find the weight in N use F = ma, where m is the mass of the object (kg) and a = gravity (9.81m/s2)

The file device_data.txt contains force data for multiple lift trials.
A program needs to be written to:
1) For each trial:

a. Liftoff time (s) - Determine the time the object was lifted from the table. To lift the object, a total lift force greater than or equal to the object weight (N) must be used. The data was sampled at 400 pts /second. Once you identify what point in the trial is the point of liftoff, the liftoff time (s) would be pt/400. For example, if the 200th pt is liftoff, then 200/400 = 0.5s

b. Stable grip force (N) - Calculate the grip force during the stable region. Use ginput to get the user to select the start and end of the stable region.

2) Calculate the average liftoff time over all trials.

3) Calculate the average stable grip force over all trials.

4) Determine whether the participant used accurate grip forces.
a. If the average stable grip force is within 5% of the weight (N) of the device, grip forces are considered accurate.

5) Display the average liftoff time and whether the participant used accurate grip forces.

Hints:

• Use load to get data from the file HW5_data.txt into a MATLAB variable. Each trial consists of two columns of data, lift force and grip force. The file contains 4 columns of data, where columns 1 and 2 contain the data for the first trial, columns 3 and 4 contain the data for the second trial. Using a variable to index the data file is a good way to make sure your program could handle a larger data set (data for trial i is in columns (i*2)-1 and i*2).

• A while loop would be a good choice for finding liftoff time, but make sure you handle the case that the participant doesn't lift the object at all (lift force never gets to object weight).

• Check the help for how to use ginput. You might use a command like this:
[(stable_start_x),y] = ginput(1);

• The results you get from ginput will need to be rounded to the nearest integer so you can use them to index your data (use the round function).

Reference no: EM13625028

Questions Cloud

Consider a 20-l evacuated rigid bottle that is surrounded : consider a 20-l evacuated rigid bottle that is surrounded by the atmosphere at 100 kpa and 27 celsius. a valve at the
Describe what is meant by a binomial experiment how do : 1 describe what is meant by a binomial experiment. how do binomial experiments apply to each of the four probability
When a solid cylindrical rod is connected across a fixed : when a solid cylindrical rod is connected across a fixed potential difference a current i flows through the rod.what
Suppose a previous study has shown the sample standard : suppose a previous study has shown the sample standard deviation of a particular model of automobile to be 3.12 mpg.
The results you get from ginput will need to be rounded to : descriptionthe program for this assignment comes from a research project i did while i worked at kumed. a researcher
A company makes electric motors the probability an electric : a company makes electric motors. the probability an electric motor is defective is 0.01. what is the probability that a
The sound transducer generator is circular with a radius of : deep ultrasonic heating is used to promote healing of torn tendons. it is produced by applying ultrasonic sound over
A cylinder with mass m225kg slides down a long vertical : a cylinder with mass m.225kg slides down a long vertical tube. the tube is lubricated with a thin layer of glycerin at
The same magnetic field is then used to deflect the singly : an ion enters a mass spectrometer which has a .21 t field perpindicular to electric field of 1.5 kvm and selects a

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Determine the rate of heat loss per square meter of the

thermopane window consists of two 6 -mm thick glasses separated by a stagnant air space of thickness 6 mm. the thermal

  Calculate the quantity of heat which must be removed from

a closed rigid container has a volume of 85 liters. the system contains steam at 2 bar and has a quality of 0.9.

  Determine the cop of the device when extracting thermal

a thermoelectric unit consists of n cells. when there is no temperature difference across the leads the resistance is 4

  The microk between the brakes and the wheels is 04 if it

with a mass of 1000 kg travels at 80kmh has a four-pad braking system. the microk between the brakes and the wheels is

  Using newton raphson method

Using Newton Raphson method, solve the above equation for as a function of z. Vary z from 0.001 to 0.1 cm in increments of 0.01 cm. plot versus z.

  Determine the tension developed in cord cd determine the

determine the tension developed in each cord required for equilibrium of the 21- kg lamp. determine the tension

  If the surface temp of the wall are measured to be 50

the heat flux that is applied to the left face of a plane wall is q20 wm2. the wall is of thickness l10 mm and of

  Now the valves are slowly opened and heat is transferred so

a rigid tank a of volume 0.6 m3 contains 3 kg water at 120 degrees celsius and the rigid tank b is 0.4 m3 with water at

  If a force f 200 n is applied perpendicular to the bar at

a uniform bar ab of mass m 1.00 kg and length l 30.0 cm lies a horizontal plane. an additional mass m 1.00 kg is

  Determine the pressure, temperature and enthalpy at entrance

A heat pump uses refrigerant-134a as the working fluid in an ideal vapour-compression refrigeration cycle between 0.14 and 0.8 MPa. The refrigerant leaves the compressor at a temperature of 40° C. Determine the pressure, temperature and enthalpy a..

  Determine the upper surface temperature of the wafer

heat treatment is common in processing semiconductor materials. a 200- mm-diameter silicon wafer with thickness of 725

  Discuss at least five factors

Assume that you are one of the candidates who have impressed the recruiting team of the company. The recruiting team of XYZ Company is happy that they are willing to offer you the required job. Discuss at least five factors which you are going to con..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd