latexcmd Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: latexcmd.zip
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Peder Axensten (View more)

latexcmd script description:



latexcmd is a Matlab script for Scientific/Engineering scripts design by Peder Axensten. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
latexcmd - A simple yet flexible way to access Matlab results from LaTeX documents. Includes an example file.

Publisher review:
latexcmd - A simple yet flexible way to access Matlab results from LaTeX documents. Includes an example file. USAGE: latexcmd(filename, var1, var2, ...) Creates a LaTeX file with commands named as the corresponding Matlab variables. Include the resulting LaTeX file into your LaTeX document (by an include{filename}) to access the variable values. Works on scalars, polynomials, numeric arrays, cell arrays, and structures. Also works with most types: numbers (real and complex), NaN, Inf, strings, syms (from the Symbolic Toolbox), function handles, and inlines (although functions look flat without the Symbolic TB). If you find any errors, please let me know (peder at axensten dot se)! INSPIRATION: latexcmd has the functionality of the similar m-files latex, matrix2latex, MAT2TEX, latex_trick, mat2textable, but works on more variable and number types, and has a more flexible number format, when required. It can also save as many variables as you want in one file, as opposed to one file per variable in some older related m-files. ARGUMENTS: filename must be a string. If prefixed by '>' (i.e. '>filename'), the results will be appended to previous file contents. If empty, results will be printed on the display. var may be any of the following: Arrays must be max 2-dimensional. Cell arrays may not be nested (contain structures or arrays). Structures generates a header with field names, followed by hline, followed by actual values. Character strings: - 'myname': The name of the next expression. - '@myprefix': The prefix of the following names. - '%myformat': Defines a new active number format (e.g. '.5E'). Specials: '%r': fractions format of numbers (using rat). '%R': fractions format of numbers (using rat) with integer part. '%ns': power of ten suffix (e.g., k, M, etc.) (n is number of digits). '%nS': 'scientific notation', exponent multiple of 3. '%u & %g & %5.2f%%' formats array columns individually. - '%stat': Statistics of the following array (all of it, not column-wise): length, min, max, range, mean, median, std, cov, and all of it collectively (see latexcmd_example.m). If the next expression is non-numeric, '%stat' will be ignored. - '%poly': Outputs the following array as a polynomial of 'x'. - '%poly:myvar': Outputs the following array as a polynomial of myvar. - Other strings will be output as they are. EXAMPLE (See 'help latexcmd_example' for more detailed examples.): --- In Matlab m-file --------------------------------------------------- result= [1 2 3 4 5 6]; resultmean= mean(result); latexcmd(results, result, resultmean); --- In your LaTeX file ------------------------------------------------- include{results} [and somewhere later] The mean of the measurements is esultmean, with individual results: egin{tabular}{r@{, }r@{, }r@{, }r@{, }r@{, and }r}esultend{tabular} Requirements: ยท MATLAB Release: R14SP1
Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Related script downloads:

Latest script and internet news

IE 10 for Windows 8, comes with Adobe Flash support

IE 10 for Windows 8, comes with Adobe Flash support

After criticism received at Metro version of Internet Explorer 10 , initially offered no support for Adobe Flash technology, Microsoft has taken measures to correct this problem by working directly with Adobe to integrate the necessary components into the

Posted on: 25 May 2012 10:36 by A. Brown

Windows 8: boot to fast to furious

Windows 8: boot to fast to furious

Last year began to circulate on the Internet videos where Windows 8 systems boot in 7 seconds. Unfortunately, from this performance derives some problems.

Posted on: 25 May 2012 07:28 by A. Brown

Apple prepares iPhone 5 and iOS 6

Apple prepares iPhone 5 and iOS 6

New information coming from some sources close to Apple confirming that the Cupertino giant is testing two different models of iPhone, called internal iPhone5, 1 and iPhone 5.2. Apparently, both devices have a screen of 3.95 inches and a resolution of 113

Posted on: 24 May 2012 08:36 by A. Brown

Windows 8 estimates: 500 million users in 2013

Windows 8 estimates: 500 million users in 2013

Microsoft expects to launch a new wave of optimism with Windows 8. In a recent statement, Steve Ballmer, chief executive at Microsoft, estimates that Windows 8 will reach a total of about 500 million users by the end of 2013.

Posted on: 24 May 2012 08:25 by A. Brown

SPREAD THE WORD

User Rating

latexcmd
Rating: 0.0 out of 5
Based on 0 ratings. 0 user reviews.

  • Currently 0.00 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5