Comparing different methods to solve an Inverted Pendulum problem

버전 1.0.0.0 (1.15 MB) 작성자: Roni Peer
A simple reporting tool that shows how you can model an inverted pendulum in a few methods.
다운로드 수: 2.2K
업데이트 날짜: 2013/3/11

라이선스 보기

In order to solve an inverted pendulum dynamics, you can select several methods:
1. Solving Symbolic equations.
2. Solveing a MATLAB ODE
3. Constructing a Simulink model
4. Designing the system using SimMechanics

This submission show how you can leverage the reporting tools that exist in the MATLAB environemnt in order to compare the solution of all these methods, and show the advantage of each one:
1. Symbolic, complete solution using the Symbolic Math toolbox.
2. Parameter sweep using monte carlo simulation for a MATLAB function.
3. Running the same Simulink dynamic model for different friction values.
4. Modeling the problem and not the equations, using SimMechanics.

In order to run the comparison, simply run the following command:
report symbolic_simmech;

The report template contains examples and how-to do it yourself.

I would like to acknowledge Carlos Osorio, who created some of the files and models in this example.

인용 양식

Roni Peer (2024). Comparing different methods to solve an Inverted Pendulum problem (https://www.mathworks.com/matlabcentral/fileexchange/40745-comparing-different-methods-to-solve-an-inverted-pendulum-problem), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2012b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Simulink Report Generator에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0