problem with showing a big matrix

1 次查看(过去 30 天)
changiz
changiz 2014-5-27
i have this program but as my matrix get bigger (values up to 100) isosurface just shows me an empty cube...what should i do to show it right?
close all
clear all
nx=100;
ny=100;
nz=100;
mat=zeros(nx,ny,nz);
mat(30:70,30:70,30:70)=0.3;
mat(48:53,48:53,30:70)=0;
isosurface(mat);
xlim([1 nx]);
ylim([1 ny]);
zlim([1 nz]);

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by