Skip to content

Instantly share code, notes, and snippets.

View novelistparty's full-sized avatar

novelistparty novelistparty

View GitHub Profile
@novelistparty
novelistparty / compute_modes.m
Last active August 29, 2015 14:20
Nested-function handles stored inside structures
function [modes] = compute_modes(Nmode,z,desc)
% COMPUTE_MODES example function to demonstrate nested-function handles
% John Boyle, April 2015
for jj = 1:Nmode
data(jj,:) = sin(2*pi*jj * z);
end
function plot_modes()
figure
for ii = 1:Nmode
"""
Physics simulation with PyODE followed by a (basic) rendering with Vapory
See the result here: http://i.imgur.com/TdhxwGz.gifv
Zulko 2014
This script is placed in the Public Domain (Licence Creative Commons 0)
"""