An open API service indexing awesome lists of open source software.

https://github.com/trolobezka/matlab-parse-latex-matrix

ParseLatexMatrix is a set of scripts for parsing LaTeX matrices inside MATLAB.
https://github.com/trolobezka/matlab-parse-latex-matrix

latex matlab matrix

Last synced: 2 months ago
JSON representation

ParseLatexMatrix is a set of scripts for parsing LaTeX matrices inside MATLAB.

Awesome Lists containing this project

README

          

# MATLAB ParseLatexMatrix WIP
ParseLatexMatrix is a set of scripts for parsing latex matrices inside MATLAB.

## Basic usage
```matlab
parseLatexMatrix(latex, debug = false)
```
* return value is vertical cell array of size (matrix count, 1)
* if the latex matrix is badly formatted, parser can ignore it or parse it wrongly (but there should not be any errors)
* if the latex matrix has uneven number of columns in every row, parser will fill missing elements with zeros
* if the latex matrix has non-numeric values as elements, parses will convert them to NaN