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
import networkx as nx | |
import matplotlib.pyplot as plt | |
import matplotlib.image as mpimg | |
import glob | |
from numpy import sqrt | |
import glob | |
path = '' | |
files = [f for f in glob.glob(path + "*.jpg")] | |
img = [] |
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
#!/usr/bin/env python | |
# coding: utf-8 | |
# In[1]: | |
import pandas as pd | |
import numpy as np | |
import matplotlib | |
import matplotlib.pylab as plt |
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
% Include matlab code and style it | |
\usepackage{listings} | |
\lstset{extendedchars=true, | |
basicstyle=\ttfamily, | |
keywordstyle=\normalfont\bfseries, columns=flexible, | |
numbers=left, | |
breaklines=true, | |
numberstyle=\tiny, | |
breakatwhitespace=true, | |
language=Matlab} |
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
% Home assignment II, exercise 1: Lyapunov exponents | |
% | |
% Emil Munthe, 7. April 2014 | |
% | |
function [] = ex1(a) | |
%% Init | |
if nargin < 1, a = 0.2; end | |
t = linspace(0, 50, 1500); | |
yzero = [0.1 0 0]; |