From: krymly on
well basicly I wrote a little program. It should display a 1xSomething matrix with numbers, the thing is I want all the numbers to be displayed in a "normal" format, so not scientific, fractioned or anything. but this is what I get:
7250531517275832*2^(-39)
744
744
32953/25

Now am I doing anything wrong? if not then whats the problem?
From: Walter Roberson on
krymly wrote:
> well basicly I wrote a little program. It should display a 1xSomething matrix with numbers, the thing is I want all the numbers to be displayed in a "normal" format, so not scientific, fractioned or anything. but this is what I get:
> 7250531517275832*2^(-39)
> 744
> 744
> 32953/25
>
> Now am I doing anything wrong? if not then whats the problem?

Your problem is that you haven't defined what you mean by "normal"
format, aside from defining that it is _not_ scientific, _not_
fractioned, and _not_ anything else either.

Make sure you have not set 'format rational'. If the fractions were
generated out of a symbolic process, then you may wish to use double()
or vpa() on the numbers.
From: ben payne on
krymly <hidde_norder(a)msn.com> wrote in message <780961510.547480.1271025731052.JavaMail.root(a)gallium.mathforum.org>...
> well basicly I wrote a little program. It should display a 1xSomething matrix with numbers, the thing is I want all the numbers to be displayed in a "normal" format, so not scientific, fractioned or anything. but this is what I get:
> 7250531517275832*2^(-39)
> 744
> 744
> 32953/25
>
> Now am I doing anything wrong? if not then whats the problem?

On method would be to display the array result one element at a time.

Alternatively, if the array is called "fish", then set the number of digits to be as large as the smallest value needs:
vpa(fish,50)