Filter löschen
Filter löschen

problem with showing a big matrix

1 Ansicht (letzte 30 Tage)
changiz
changiz am 27 Mai 2014
Bearbeitet: the cyclist am 28 Mai 2014
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 Kommentar
changiz
changiz am 28 Mai 2014
when turning nz=100 to nz=98 it shows right!!!!!!!!!!!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by