필터 지우기
필터 지우기

Matlab table to LaTeX, exporting the Matlab table as a figure

조회 수: 35 (최근 30일)
nick
nick 2016년 3월 31일
댓글: Renso Rojas 2022년 9월 25일
I have the following table in Matlab. TableV =
NoOil Intermediate OECD
________ ____________ ________
Constant 1.0639 1.5984 2.4839
se(constant) 0.44582 0.47918 0.6804
lnY60 -0.29933 -0.37604 -0.4009
se(ln(Y60)) 0.060451 0.065497 0.063473
ln(I/GDP) 0.52091 0.5364 0.37022
se(ln(I/GDP)) 0.084137 0.098078 0.15559
ln(n+g+delta) -0.14027 -0.14316 -0.14139
se(ln(n+g+delta)) 0.066662 0.064922 0.053896
ln(school) 0.234 0.27431 0.23588
se(ln(school)) 0.057569 0.077239 0.13192
The aim is to recreate this table in LaTeX. How exactly I do this, I do not care. I have tried exporting the table as a .txt file and then importing it into LaTeX, however, that ends up messing with the structure of the table (meaning there is only one space after each number/word). I have also tried to convert the table into a matrix in order to use
latex_table = latex(sym([name of matrix]));
However, the resulting LaTeX code doesn't work in my LaTeX (additionally, in this case, I would lose all the labels).
Any hints on how to do this? Is there a way to export this table as a figure?
  댓글 수: 3
nick
nick 2016년 4월 5일
Thanks, that worked well!

댓글을 달려면 로그인하십시오.

답변 (1개)

Dave Behera
Dave Behera 2016년 4월 4일

카테고리

Help CenterFile Exchange에서 LaTeX에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by