LatexExp:

Path: Common/General

% Creates a latex exponential string
 Converts a number like 1.2e3 in 1.2$\times 10^{3}$.
 Type LatexExp for a demo.
------------------------------------------------------------------------
   Form:
   s = LatexExp( n, f, g )
------------------------------------------------------------------------

   ------
   Inputs
   ------
   n     (1,1) Number
   f     (1,:)	Exponential format (don't include the e)
   g     (1,:) Any text after the number

   -------
   Outputs
   -------
   s     (1,:)	Latex string

------------------------------------------------------------------------
 See also LatexScientificNotation.
------------------------------------------------------------------------

Back to the Common Module page