Include MATLAB output in LaTeX document?

30 views (last 30 days)
Suppose I have several matrices as an output in MATLAB. Is there a way to include the raw output (nicely formatted) in my LaTeX document?
Thank you.

Accepted Answer

Chad Greene
Chad Greene on 21 Jan 2015
Does this do what you're looking for?
  3 Comments
Chad Greene
Chad Greene on 21 Jan 2015
There is a 'format' option which accepts number formatting just like sprintf. (e.g., %-6.4f)

Sign in to comment.

More Answers (1)

Sean de Wolski
Sean de Wolski on 21 Jan 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!