problem with showing a big matrix

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]);

1 commentaire

changiz
changiz le 28 Mai 2014
when turning nz=100 to nz=98 it shows right!!!!!!!!!!!

Connectez-vous pour commenter.

Réponses (0)

Tags

Question posée :

le 27 Mai 2014

Modifié(e) :

le 28 Mai 2014

Community Treasure Hunt

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

Start Hunting!

Translated by