Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 18th, 2019
91
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
tic;
x0 = [0 0 0 0];
tspan = [0, 2];
V=-2.5;
eoms = @(t,x) [V*x(1)-x(2); V*x(2)-x(3)-x(1); V*x(3)-x(4)-x(2); V*x(4)-x(5)-x(3)];
[t, x] = ode45(eoms, tspan, x0)
toc
plot(t,x)
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 7 min ago | 0.39 KB
Interceptor JS
JavaScript | 19 min ago | 3.15 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 25 min ago | 0.38 KB
Sigma style
LScript | 34 min ago | 0.10 KB
M1SCO Style
LScript | 37 min ago | 0.09 KB
Kiwami style
LScript | 39 min ago | 0.10 KB
Tardis - Alarm System
Lua | 55 min ago | 0.10 KB
Anti Lock 67su
Lua | 1 hour ago | 2.14 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!