view +grid/funcToPlotMatrix.m @ 497:4905446f165e feature/quantumTriangles

Added 2D interface to shrodinger
author Ylva Rydin <ylva.rydin@telia.com>
date Sat, 25 Feb 2017 12:44:01 +0100
parents 5f75d7094983
children bc2be302df90
line wrap: on
line source

% Converts a gridfunction to a plot matrix
% Takes a grid function and and a structured grid.
function F = funcToPlotMatrix(g, gf)
    F = reshapeToPlotMatrix(gf, g.size());
end