I'm trying to publish some latex, and for some reason it is not accepting my matrix. I have tested on another site and it seems to work, but I am wondering if the.
This functionality changes an MATLAB 2-dimensional range (matrix) which can end up being numerical or a mobile variety, into appropriate formated LaTeX code. The result will become a document that can end up being integrated into any LaTeX document, and will display the data through the 'tabular' environment.
% Utilization:
% matrix2Iate(matrix, filename, várargs)
% whére
% - matrix can be a 2 dimensional numerical or cell range
% - filename is a legitimate filename, in which the resulting latex program code will
% be stored
% - varargs can be one ore even more of the pursuing (denominator, worth) mixtures
% + 'rowLabels', array -gt; Can be used to tag the rows óf the
% resuIting latex desk
% + 'columnLabels', array -gt; Can be utilized to label the columns óf the
% resuIting latex table
% + 'positioning', 'worth' -gt; Can end up being used to stipulate the alginment óf
% the desk within the latex record. Valid fights are: 'd', 'd',
% and 'l' for remaining, center, and right, respectively
% + 'structure', 'worth' -gt; Can end up being used to format the input information. 'worth'
% provides to become a valid format thread, very similar to the types used in
% fprintf('file format', worth);
% + 'dimension', 'value' -gt; One of latex' recognized font-sizes, at the.g. small,
% HUGE, Huge, large, Great, etc.
%
% Illustration input:
% matrix = 1.5 1.764; 3.523 0.2;
% rowLabels = 'row 1', 'row 2';
% columnLabels = 'col 1', 'col 2';
% matrix2latex(matrix, 'out there.tex', 'rowLabels', rowLabeIs, 'columnLabels', columnLabels, 'alignment', 'c', 'file format', '%-6.2f', 'size', 'tiny');
%
% Thé resulting latex document can end up being included into any latex record by:
% /inputóut.téx
%
% Enjóy lifetime!!!
% matrix2Iate(matrix, filename, várargs)
% whére
% - matrix can be a 2 dimensional numerical or cell range
% - filename is a legitimate filename, in which the resulting latex program code will
% be stored
% - varargs can be one ore even more of the pursuing (denominator, worth) mixtures
% + 'rowLabels', array -gt; Can be used to tag the rows óf the
% resuIting latex desk
% + 'columnLabels', array -gt; Can be utilized to label the columns óf the
% resuIting latex table
% + 'positioning', 'worth' -gt; Can end up being used to stipulate the alginment óf
% the desk within the latex record. Valid fights are: 'd', 'd',
% and 'l' for remaining, center, and right, respectively
% + 'structure', 'worth' -gt; Can end up being used to format the input information. 'worth'
% provides to become a valid format thread, very similar to the types used in
% fprintf('file format', worth);
% + 'dimension', 'value' -gt; One of latex' recognized font-sizes, at the.g. small,
% HUGE, Huge, large, Great, etc.
%
% Illustration input:
% matrix = 1.5 1.764; 3.523 0.2;
% rowLabels = 'row 1', 'row 2';
% columnLabels = 'col 1', 'col 2';
% matrix2latex(matrix, 'out there.tex', 'rowLabels', rowLabeIs, 'columnLabels', columnLabels, 'alignment', 'c', 'file format', '%-6.2f', 'size', 'tiny');
%
% Thé resulting latex document can end up being included into any latex record by:
% /inputóut.téx
%
% Enjóy lifetime!!!