From: CyberFrog on
Hi guys,
Currently I have this huge loop which reads in a dataset. okay, when I finally get the data I like it comes into a nice {m,n} array for me to work with. great so far accept I have just realised when I print to the command line in matlab something obscure happens of which I have not come across before the each number is split to the next line i.e.

myarray{33,5}=
1
2
3
..
6

is there a simple answer or fix for this?

I was expecting it to print on the line something like this instead:

mydata{33,5}=
123.6



ummmmmmmmmmmm........
From: us on
"CyberFrog" <domlee55(a)hotmail.com> wrote in message <hqa6nm$5v9$1(a)fred.mathworks.com>...
> Hi guys,
> Currently I have this huge loop which reads in a dataset. okay, when I finally get the data I like it comes into a nice {m,n} array for me to work with. great so far accept I have just realised when I print to the command line in matlab something obscure happens of which I have not come across before the each number is split to the next line i.e.
>
> myarray{33,5}=
> 1
> 2
> 3
> .
> 6
>
> is there a simple answer or fix for this?
>
> I was expecting it to print on the line something like this instead:
>
> mydata{33,5}=
> 123.6
>
>
>
> ummmmmmmmmmmm........

one of the solutions

mydata{33,5}.'

us
From: CyberFrog on
"us " <us(a)neurol.unizh.ch> wrote in message <hqa7e7$iic$1(a)fred.mathworks.com>...
> "CyberFrog" <domlee55(a)hotmail.com> wrote in message <hqa6nm$5v9$1(a)fred.mathworks.com>...
> > Hi guys,
> > Currently I have this huge loop which reads in a dataset. okay, when I finally get the data I like it comes into a nice {m,n} array for me to work with. great so far accept I have just realised when I print to the command line in matlab something obscure happens of which I have not come across before the each number is split to the next line i.e.
> >
> > myarray{33,5}=
> > 1
> > 2
> > 3
> > .
> > 6
> >
> > is there a simple answer or fix for this?
> >
> > I was expecting it to print on the line something like this instead:
> >
> > mydata{33,5}=
> > 123.6
> >
> >
> >
> > ummmmmmmmmmmm........
>
> one of the solutions
>
> mydata{33,5}.'
>
> us

thanks us I knew is was something simple

cf
 | 
Pages: 1
Prev: lsline
Next: Get position of pixel in an image