Skip to content

Commit 4be2fad

Browse files
committed
fixing bug
1 parent 0ad0910 commit 4be2fad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

main_invertedPendulum.m

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,7 @@
263263

264264
%% simulation of inverse pendulum
265265

266-
g = 9.81;
267-
drawpendulum(out.t,out.x,Mc,Mp,g,l)
268-
266+
269267
% simulation of inverse pendulum
270268
g = 9.81;
271269
drawpendulum(out.t,out.x,Mc,Mp,g,l)

0 commit comments

Comments
 (0)