Open-loop control of a mass-spring model

Simple example of open-loop motion planning using a mass-spring model.

You are now following this Submission

This is a simple example of open-loop motion planning on a mass-spring model. A mass is attached to a spring, and the other end of the spring is attached to a linear motor. The position and the speed of the mass are used as states of the model. In this example, the position and the speed will be steered from an initial state to a desired final state. To do this, a discrete-time input is precalculated, which is then used to simulate the model using Simulink.

Cite As

Nathan (2026). Open-loop control of a mass-spring model (https://in.mathworks.com/matlabcentral/fileexchange/46185-open-loop-control-of-a-mass-spring-model), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: EnsembleControlMassSpring.zip

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Communities
Version Published Release Notes Action
1.3.0.0

File update: changed xlabel.

1.2.0.0

Updated file.

1.1.0.0

Increased length of summary.