view octmedcouple @ 72:6b0f8b05c0c4

show_mc.py: fix arrays so that Octave and easily read them
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Fri, 20 May 2016 08:43:48 -0400
parents bb3a5c43fc65
children
line wrap: on
line source

#!/usr/bin/octave -q

args = argv();
if isempty(args)
   disp("Provide input filename");
   exit(1);
endif
   
fname = args{1};
format long;
x = load(fname);
m = mc(x);
disp(m);