Slice volume data with X=Y plane?
이전 댓글 표시
As an example without posting my very long code
n = 100;
rmax = 1200;
x = linspace(-rmax,rmax,n);
y = linspace(-rmax,rmax,n);
z = linspace(-rmax,rmax,n);
[X,Y,Z] = meshgrid(x,y,z);
V = X.^2 + Y.^2 + Z.^2
[xsurf,ysurf] = meshgrid(x,y);
zsurf = xsurf - ysurf;
slice(X,Y,Z,Smag,xsurf,ysurf,zsurf)
This is not working for me.
Any help would be appreciated.
Thanks in advanced,
Omar
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Scalar Volume Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

