help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HEPL FOR A FUNCTION


From: Doug Stewart
Subject: Re: HEPL FOR A FUNCTION
Date: Thu, 19 Apr 2012 06:58:35 -0400



On Thu, Apr 19, 2012 at 6:37 AM, CARMEN SANCHEZ <address@hidden> wrote:
Good morning:
 
I am using octave to resolve a matrix problem.
 
I have this matrix:
 
A=[-0,195966, -0,397014, -0,538551, -0,954502;                             
-0,021981,      0,387760,   -0,593141,   -0,240908;
-0,195130,      0,013832,   -0,686614,   -0,901565;
0,134872,      0,711619,   -0,339303,      0,440442];

 
Is there any octave function to reduce decimals to just only 2 decimals without erase them manually?
 
Best regards,
 
Javier M.
 

_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave




try
output_precision(0)



--
DAS

https://linuxcounter.net/user/206392.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]