Publisher review:latex trick replaces decimal points in either a matrix or a scalar with a '&' to allow for easier handling As documented in lshort.pdf, an easy way of aligning table columns in MATLAB to a decimal point is to break down the numerical entries into two columns, and set the alignment to 'r@{.}l', which places a decimal point between a right and a left aligned column.This function changes decimal points in either a scalar or a matrix to a '&' to allow for using this technique.For best results, combine with matrix2latex.m available on this site.Usage:latex_trick(number, format)where:number is a matrix or a scalar, and format is a format string as if for fprintf.returns:a string if number is a scalar, or a string cell array otherwise. Requirements: ยท MATLAB Release: R13
latex trick is a Matlab script for Scientific/Engineering scripts design by Christopher Granade.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris