view +grid/funcToPlotMatrix.m @ 207:d521e17f72b6 feature/grids

blockmatrix: Added function to create zero blockmatrices.
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 15 Jun 2016 16:55:40 +0200
parents 51aaf67a7df5
children 5f75d7094983
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)
    reshapeToPlotMatrix(gf, g.size());
end