Splitting a mesh grid and put them together again.

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)

2 comentarios

francesco
francesco el 8 de Nov. de 2013
Ifocal?
reshape(Ifocal, size(x))

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Vector Fields en Centro de ayuda y File Exchange.

Preguntada:

el 22 de Oct. de 2013

Comentada:

el 8 de Nov. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by