501
edits
Line 560: | Line 560: | ||
<!-- {{SyntaxHighlight| --> | <!-- {{SyntaxHighlight| --> | ||
{{Code|Creating the transfer functions for the inverted pendulum|<syntaxhighlight lang="octave"> | {{Code|Creating the transfer functions for the inverted pendulum|<syntaxhighlight lang="octave" style="font-size:15px"> | ||
m = 0.15; | m = 0.15; | ||
l = 0.314; | l = 0.314; | ||
Line 574: | Line 574: | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||
and by invoking the < | and by invoking the <pre>bode</pre> command | ||
<!-- {{SyntaxHighlight| --> | <!-- {{SyntaxHighlight| --> | ||
{{Code|Creating Bode plots for the inverted pendulum|<syntaxhighlight lang="octave" style="font-size: | {{Code|Creating Bode plots for the inverted pendulum|<syntaxhighlight lang="octave" style="font-size:15px"> | ||
bode(G1); | bode(G1); | ||
bode(G2); | bode(G2); |
edits