You are on page 1of 3

% Inverted Pendulum

clear all
close all
clc
M=4;
m=0.2;
l=0.5;
g=19.81;
sim('nonli_pendum')















Simulation Result:-


X- Postion

Theta- Angle

You might also like