Skip to content

coder2j/convert2latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

convert2latex

The homework of adjustment calculation needs to deal with a lot of matrix. And most of time, it really wastes my time just to generate the latex code in the right way. However, today I have solved this problem by writing a simple and useful matlab function, which can convert the matlab matrix directly to latex code. With just a simple code, you can copy paste the latex code to your project.

How to use?

First download this m file and put in your project folder, then you can use it.

For example, I have a matrix a = [1 0 0; 0 1 0; 0 0 1], which should be included in the latex report.

Just execute this simple function:

convert2latex(a)

Then you can get all the latex code you need as follow:

a = \begin{pmatrix}1&0&0\\0&1&0\\0&0&1\\\end{pmatrix}

Just copy paste to your latex project, pretty simple and save time. :-)

About

A simple and useful matlab function to convert matrix to latex code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy