I have a 3D PDE solution.
I want to extract a slice of this solution into a matrix to do further analysis (I want to calculate the gradient and plot the solution just at a plane).
Here is my code so far:
[X,Y,Z] = meshgrid(-47:1:54,-72:1:29,-50:1:50);
V = interpolateSolution(results,X,Y,Z);
The result is a plot of the plane I would like to do further analysis on, however the result of the slice is an object, not a matrix. Is there a way to extract this slice into matrix form somehow?