Extracting 2D plane values from a 3D mesh
31 views (last 30 days)
I have 3 arrays (x,y,z) of size 243,528,000 each. These array have coordinates in x,y and z respectively. I want to extract the data in the 2D plane (say yz plane values at x = 2) from the 3D mesh. These x,y,and z arrays are used to create 3D mesh. How to perform this.
Walter Roberson on 17 Dec 2018
If you have vectors of values, then scatteredInterpolant() or griddedInterpolant()
However in your earlier question you were dealing with a regular mesh that for whatever reason had been reshaped into vectors. If that is still the situation then you should rearrange back into a 3D shape instead of working with scattered points.
Is your grid 1825 * 2085 * 64 ?