【文件属性】:
文件名称:期权matlab代码-matrix2latex:Python/MATLAB矩阵到LaTeX表转换器,最初由ØysteinBjørndal撰写
文件大小:594KB
文件格式:ZIP
更新时间:2021-05-26 17:07:39
系统开源
预算matlab代码Matrix2LaTeX
使用Python或MATLAB矩阵并输出LaTeX表,LaTeX矩阵或完整的LaTeX文档(并可以选择调用latex进行编译)。
有许多配置选项可用。
表格的默认输出适合IEEE推荐的标准,并使用乳胶包装书本。
查看更多示例输出和用法。
例子
以下python代码:
from
matrix2latex
import
matrix2latex
m
=
[[
1
,
1
],
[
2
,
4
],
[
3
,
9
]]
#
python
nested
list
t
=
matrix2latex
(
m
)
print
(
t
)
或等效的Matlab代码:
m
=
[
1
,
1
;
2
,
4
;
3
,
9
];
filename
=
'
'
%
do
not
write
to
file
t
=
matrix2latex(m,
filename)
产生
\begin
{
table
}[ht]
\begin
{
center
}
\begin
{
tabular
}{cc}
\toprule
$
1
$
&
$
1
$
\\
$
2
$
&
【文件预览】:
matrix2latex-master
----setup.py(384B)
----archive()
--------matrix2latexPython-1.0.0.tar.gz(179KB)
--------matrix2latexMatlab-1.0.0.tar.gz(174KB)
----matrix2latex()
--------__init__.py(1KB)
--------matrix2latex.py(16KB)
--------IOString.py(590B)
--------error.py(1KB)
--------fixEngineeringNotation.py(1KB)
--------pagination.py(4KB)
--------render.py(8KB)
----archiver.py(2KB)
----.travis.yml(236B)
----copying.txt(34KB)
----doc()
--------compatibleTable.tex(302B)
--------factorial.py(2KB)
--------Makefile(444B)
--------features.tex(598B)
--------doc.tex(2KB)
--------tex()
--------table_ohm.tex(295B)
--------facV.tex(619B)
--------test.tex(205B)
--------niceTable.tex(247B)
--------table_ohm2.tex(292B)
--------facT.tex(696B)
--------tmp.tex(182B)
--------doc.pdf(163KB)
----INSTALL.txt(513B)
----src_matlab()
--------matrix2latex.m(10KB)
--------fixEngineeringNotation.m(241B)
----doc_sphinx()
--------index.txt(559B)
--------Makefile(7KB)
--------conf.py(8KB)
--------sphinxext()
----README.md(2KB)
----simpleExample.png(3KB)
----test()
--------testVersionCompatibility.py(2KB)
--------test_util.py(961B)
--------test.tex(5KB)
--------test.py(8KB)
--------README.txt(115B)
--------test.m(7KB)
--------test_syntaxError.py(795B)