Jan 24, 2012 #1 R Rahul Aggarwal Newbie level 5 Joined Aug 7, 2011 Messages 10 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,348 Hey has anyone here worked upon "Inverted pendulum control using pid controller" in matlab?? I need to ask how can we show the pendulum moving in matlab window?
Hey has anyone here worked upon "Inverted pendulum control using pid controller" in matlab?? I need to ask how can we show the pendulum moving in matlab window?
Jan 24, 2012 #2 D dave9000 Full Member level 2 Joined Dec 5, 2011 Messages 146 Helped 40 Reputation 80 Reaction score 38 Trophy points 1,308 Activity points 2,129 open the penddemo model in simulink and unmask the animation block to see the function.
Jan 24, 2012 #3 R Rahul Aggarwal Newbie level 5 Joined Aug 7, 2011 Messages 10 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,348 hey thanks for the reply but sorry i forgot to specify that i am doing it with matlab coding not in simulink.Can u tell me code for the same.
hey thanks for the reply but sorry i forgot to specify that i am doing it with matlab coding not in simulink.Can u tell me code for the same.
Jan 24, 2012 #4 D dave9000 Full Member level 2 Joined Dec 5, 2011 Messages 146 Helped 40 Reputation 80 Reaction score 38 Trophy points 1,308 Activity points 2,129 Type "demo" and search "pendulum" there. Run the demo and look at the source code, you should find what are you looking for...
Type "demo" and search "pendulum" there. Run the demo and look at the source code, you should find what are you looking for...