From: Priya on
"Steven Lord" <slord(a)mathworks.com> wrote in message <hjuoup$jm5$1(a)fred.mathworks.com>...
>
> "Priya " <priya.biomath(a)gmail.com> wrote in message
> news:hjundt$a4t$1(a)fred.mathworks.com...
> > Can anybody tell me what is wrong in this line
> >
> > (concentration,nx,ny,nz)));
>
> You have one left parenthesis and three right parentheses.
>
> Note: please don't ask half your question in the subject line of the post
> and the other half in the body. It's okay (and even recommended) for the
> subject to contain a 'teaser', but even if you do that you should put the
> entire question in the body.
>
> So assuming your question was "Can anybody tell me what is wrong in this
> line
>
> imagesc(flipud(reshape(concentration, nx, ny, nz)));"
>
> the error message you should have received should have made it clear what's
> wrong in the line of code you posted above (assuming nz is not equal to 1.)
>
> Use FLIPDIM instead of FLIPUD, and make sure that the reshaped, flipped
> concentration array is in a format IMAGESC recognizes (which I believe means
> nz must be either 1 or 3.)
>
> --
> Steve Lord
> slord(a)mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
>

I have 3d problem
From: us on
"Priya "
> I have 3d problem

this thread is useless unless you tell CSSMers the result of

whos concentration;

us
From: Priya on
I add

imagesc(flipdim(reshape(concentration,x,y),3));

and error shows

??? Error using ==> reshape
To RESHAPE the number of elements must not change.
From: Priya on
"us " <us(a)neurol.unizh.ch> wrote in message <hjupos$da6$1(a)fred.mathworks.com>...
> "Priya "
> > I have 3d problem
>
> this thread is useless unless you tell CSSMers the result of
>
> whos concentration;
>
> us

huuh !!
From: us on
"Priya " <priya.biomath(a)gmail.com> wrote in message <hjuq43$6i2$1(a)fred.mathworks.com>...
> "us " <us(a)neurol.unizh.ch> wrote in message <hjupos$da6$1(a)fred.mathworks.com>...
> > "Priya "
> > > I have 3d problem
> > this thread is useless unless you tell CSSMers the result of
> > whos concentration;
> huuh !!

well, instead of producing a useless interjection, you should have show the result of

whos concentration;
% and
disp([nx,ny,nz]);

us