makeLatexTable

Generate an output summary table in LATEX format for linear models (fitlm, fitlme).
126 Downloads
Updated 7 Jun 2021

View License

Function inspired by the package 'stargazer' in R.
Automatically generate a summary table in latex format for the output of the functions fitlm, fitglm, fitlme, fitglme. Multiple outputs can be combined together in a single table (outputs appear as separate columns). By default, the table caption includes the formula of each model.
Options include:
- setting column names
- setting which information to include (PE, SE, p-val, t-stat, F-stat, n, adj-R2, BIS, AIC)
- number of digits for rounding
- label
- orientation (vertical, rotated)
- renaming specific elements in the table
An example script demonstrates how to use the functions.

Cite As

Pierre Petitet (2026). makeLatexTable (https://www.mathworks.com/matlabcentral/fileexchange/77774-makelatextable), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.2

Small error fixed in example.m

1.0.1

Better description

1.0.0