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:




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
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.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

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