501
edits
Line 556: | Line 556: | ||
|<math display="inline">\gamma_1=-ml</math> | |<math display="inline">\gamma_1=-ml</math> | ||
|} | |} | ||
This can be expressed in Octave | |||
<!-- {{SyntaxHighlight| --> | |||
{{Code|Creating the transfer function for the inverted pendulum|<syntaxhighlight lang="octave" style="font-size:13px"> | |||
m = 0.15; | |||
l = 0.314; | |||
M = 1.3; | |||
I = 7.38e-5; | |||
g = 9.80665; | |||
b = 20; | |||
G1 = tf([1], [T1 1]) # create transfer function model | |||
G2 = | |||
</syntaxhighlight>}} | |||
==References== | ==References== |
edits