You can't change the precision of the pretty printed display output, but you 
can always display any Matlab value at whatever precision you like using 
fprintf. Or you can just display the value directly, for example …

>> results.gen(1, PG)

ans =

   89.7986

… or increase Matlab's default display precision …

>> format long
>> results.gen(1, PG)

ans =

  89.798613812487275


-- 
Ray Zimmerman
Senior Research Associate
B30 Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645





On Aug 4, 2013, at 7:43 AM, spyros gian <[email protected]> wrote:

> Dear Dr Zimmerman,
>  
> How is it possible to increase the precision of the results?
> e.g.  P generation = 75.06 MW (NOW) , but I want to make it show up like 
> 75.05674.
>  
> Thank you
>  

Reply via email to