Splitting a mesh grid and put them together again.

3 views (last 30 days)
Hi,
I need to do a very dense mesh... but my computer cannot handle the amount of data. so I would like to split it into two, do the calculations separately and then put them together again to plot full coordinate system with the results.
How can I achieve this?
My code is currently:
[x,y] = meshgrid(-45:0.5:45, -45:0.5:45);
r = [x(:) y(:)];
.. later Ifocal is our data in size(r)
Imesh = reshape(Ifocal, length(x(:,1)),length(x(1,:)));
surf(x,y,Imesh)

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!