Help to Optimize a parameter to meet constraints
显示 更早的评论
I am modelling two masses connected by a spring with an initial displacement from one another. I am using ode45 to solve four 1st order ODEs. Could someone help me to find a way to evaluate a value for the spring stiffness that would cause the (position of mass 2 - position of mass 1 = 0 at a given time )
I have tried following a few tutorials on here but cannot understand and apply the condition to my problem.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!