Splitting a mesh grid and put them together again.

조회 수: 5 (최근 30일)
Lizan
Lizan 2013년 10월 22일
댓글: Walter Roberson 2013년 11월 8일
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
francesco
francesco 2013년 11월 8일
Ifocal?
Walter Roberson
Walter Roberson 2013년 11월 8일
reshape(Ifocal, size(x))

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by