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.
- Host: GitHub
- URL: https://github.com/trolobezka/matlab-parse-latex-matrix
- Owner: Trolobezka
- Created: 2021-10-09T19:17:14.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-09T19:39:30.000Z (about 4 years ago)
- Last Synced: 2025-01-24T21:27:25.945Z (9 months ago)
- Topics: latex, matlab, matrix
- Language: MATLAB
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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