This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link href='http://fonts.googleapis.com/css?family=EB+Garamond' rel='stylesheet' type='text/css'> | |
| <link href='http://fonts.googleapis.com/css?family=Lato:100,100italic' rel='stylesheet' type='text/css'> | |
| <link rel="stylesheet" href="//cdn.jsdelivr.net/font-hack/2.013/css/hack-extended.min.css"> | |
| <style> | |
| @font-face{ | |
| font-family: "Computer Modern"; | |
| src: url('http://mirrors.ctan.org/fonts/cm-unicode/fonts/otf/cmunss.otf');} | |
| div.cell{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| brew tap staticfloat/julia | |
| brew tap homebrew/versions | |
| brew install caskroom/cask/brew-cask | |
| brew tap caskroom/fonts | |
| brew install gcc | |
| brew install hr |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| y,t = impulse(G,w) | |
| plot(t,y) | |
| y,t = impulse(EU,w) | |
| plot(t,y) | |
| xlim([0,10]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| G = tf([9.81],[1.0, 1500.0/1200.0, 15000.0/1200.0]) | |
| EU = tf([1,0],[1,0]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| G = tf([9.81],[1.0, 1500.0/1200.0, 10000.0/1200.0]) | |
| EU = tf([1,0],[1,0]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| G = tf([9.81],[1.0, 500.0/1200.0, 15000.0/1200.0]) | |
| EU = tf([1,0],[1,0]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| y,t = step(G) | |
| plot(t,y) | |
| y,t = step(EU,w) | |
| plot(t,y) | |
| xlim([0,10]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| G = tf([9.81],[1.0, 1500.0/1200.0, 15000.0/1200.0]) | |
| EU = tf([1,0],[1,0]) | |
| w = linspace(0,10,1000) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from control import tf, step, impulse |
NewerOlder