Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Functional Electrical Stimulation is a techeology reed to re - animate the muscles of a paralyzed limb . We can model the horixontal plane (
Functional Electrical Stimulation is a techeology reed
to reanimate the muscles of a paralyzed limb We can
model the horixontal plane D no gravity movemest
of the endpoint of an anm neanimaied by FES by
considering the activity of the bioeps and triceps. This
model can be appeosimuted as a sinuple
mass'springdamper model. Each muscle is modeled as
a spring and a damper in parallel. In this model the
springs act as the force generating elemeat and the
'activation' of the muscle can be changed by varying
the spring or damping constants, and the resting length of the spring. The mass is may also be subjected to a
perturtation Ferensil which is external to the am The resulting equation is:
Afler some manipulation, we get the differential equation for the position
Where the system vesting length is t and are the biceps and triceps spring
constants and and are the damping constancs, ghen by
;
Wrike a fusctions FES.m that can be used by an ODE solver to numerically solve this equation w should
be passed through the odexr solver to your fusction. Remember, anything that depends oet tiene MUST
be defined insile your tale funetien. pey Aseame
You'll also want to gather the actaal time points that the ode solver passes into your ode fanction. You'll
plot these values vs iteration number ia a question belox. One way to do this is to insert code imo your
main function that will save solver times into a vector:
And is eoupled with the following code inerted into your ode function assuming you call your
if iserpty evalin base "Eolvertines'
evalinbasegolverTines numstrt;;
else
end
Another way to do this would be to simply output your independent variable the input into your ode
function to the comenand window and then copy and passe them into a variable once you're done running
the ode solver.
Solve this sysiem for Assume and a daration of seconds. On a
figure plot:
a In position plot the resulting locarion when the system was solved with odel
b In position plot the resulting locarion when the system was solved with ode s
How moch RAM was requied for the cole solutions? For the odes solutions? How much time
was recuired to solve the equation using ode and edels What was the sixe of the selutions
resulting from the two differem methods? Diseuse which solver was best and why. pos
Ples the time values that were passel frem each solver versus iterazion number. Discuss what is happening
urang & psy
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started