view +grid/funcToPlotMatrix.m @ 321:5c9e5ba1c1ab feature/beams

Clean up of d4_variable_6_2.m
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 26 Sep 2016 09:04:57 +0200
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