Skip to content

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

Notifications You must be signed in to change notification settings

Trolobezka/matlab-parse-latex-matrix

Repository files navigation

MATLAB ParseLatexMatrix WIP

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

Basic usage

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages