I am new to sage and trying to use it as a part of SageTeX. I have numerical calculations that need to adhere to significant digits of the input. I have tried to use round(x,n) to get n significant digits. However, this method fails miserably for very small numbers (think 1.67e-17, which returns zero).
Is there a way to make sure that sage outputs only n significant digits in the mantissa ? Second question: Is there a way to embed results of a matlab calculation using SageTeX (especially plots) ? For Mathematica, I can generate a plotfile and use \includegraphics to include the graphic. However, any attempt to use matlab's plot() command leads to a syntax error via sage. -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
