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

  Package design

Package Design Brief: Assume you are the packaging engineer for a large consumer products company. In this company, the Packaging Design Briefs are initiated by the marketing group and forwarded to the Package Engineering group.

  Mechanical engineering questions

Define dynamic viscosity, Determine the centroid, Pressure due to the height of liquid, Advantage of changing the liquid, Calculate the total moment about the hinge of the seal gate.

  Automatic control

DOF system and Find the differential equation describing the system

  Write a paper on boyle''s law

Write a paper on Boyle's law and describe Compression and Combustion stroke . Also explain Charles's law and illustrate SI engine and CI engine.

  Verify the law for parallelogram of forces

To Verify the law for parallelogram of forces, law for triangle of forces and law of polygon of forces. These laws are very useful to calculate unknown forces in very short time.

  Discharge pressure of the compressor

What is the discharge revised discharge pressure of the compressor.

  The Case for Global Accounting Standards

The role of IFRS in both developing and developed capital markets.

  Wind turbine

Wind turbines are becoming more and more common as a method of energy production, wind turbines by their very nature are dynamic and are subject to and create their own internal and external kinematics and kinetics.

  Advanced design methodologies

8 x product engineering and design review (week 2 – 12), ~3 pages per item which must contain a brief description of the product then delve into concepts such as materials selection, manufacturing methods, life cycle analysis, recyclability and overa..

  Design of absorption column and the cooler

Design of absorption column and the cooler. Process design of other units should be completed along with pipe sizes.

  Determine the maximum total bending moment

Determine maximum total bending moment (static plus dynamic) of the beam under steady-state conditions.

  Force of the water on the gate

Determine the magnitude of the horizontal and vertical components of the force of the water on the gate.

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