comparison +grid/funcToPlotMatrix.m @ 425:e56dbd9e4196 feature/grids

Merge feature/beams
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 07 Feb 2017 16:09:02 +0100
parents 5f75d7094983
children bc2be302df90
comparison
equal deleted inserted replaced
423:a2cb0d4f4a02 425:e56dbd9e4196
1 % Converts a gridfunction to a plot matrix 1 % Converts a gridfunction to a plot matrix
2 % Takes a grid function and and a structured grid. 2 % Takes a grid function and and a structured grid.
3 function F = funcToPlotMatrix(g, gf) 3 function F = funcToPlotMatrix(g, gf)
4 reshapeToPlotMatrix(gf, g.size()); 4 F = reshapeToPlotMatrix(gf, g.size());
5 end 5 end