For Programmers: Free Programming Magazines  


Home > Archive > Matlab > April 2005 > Number too small to display (e-59)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Number too small to display (e-59)
Tim Booher

2005-04-22, 4:04 pm

I have a value coming in from the stats toolbox, but it displays it
as zero. Format long e still doesn't help. Excel calculates the
number as e-59. How can I display this value?

PValue = 1-fcdf(F0,1,n-2);

Thanks,

Tim
Michael Robbins

2005-04-22, 9:00 pm

Tim Booher wrote:
>
>
> I have a value coming in from the stats toolbox, but it displays it
> as zero. Format long e still doesn't help. Excel calculates the
> number as e-59. How can I display this value?
>
> PValue = 1-fcdf(F0,1,n-2);
>
> Thanks,
>
> Tim


FORMAT SHORT should work fine, otherwise try FORMAT SHORT E, or use
FPRINTF.
[color=darkred]

ans =

1.0000e-059
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com