Splitting a mesh grid and put them together again.

5 visualizaciones (últimos 30 días)
Lizan
Lizan el 22 de Oct. de 2013
Comentada: Walter Roberson el 8 de Nov. de 2013
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)

Respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by