Discussion Overview
The discussion revolves around the compatibility of MATLAB syntax with LaTeX formatting, particularly in the context of publishing documents. Participants explore issues related to matrix representation and the use of LaTeX commands within MATLAB.
Discussion Character
- Technical explanation
- Debate/contested
Main Points Raised
- One participant questions whether MATLAB uses a different syntax for matrices compared to LaTeX, citing a specific matrix code that works in the forum but not in MATLAB.
- Another participant notes that the 'bmatrix' command is not part of standard LaTeX but rather an AMS extension, suggesting an alternative method for creating matrices in LaTeX.
- A later reply expresses gratitude for the alternative solution provided, indicating it resolved their issue.
- Another participant expresses confusion about why MATLAB does not accept certain LaTeX commands, particularly regarding the derivative notation in their matrix representation.
- A participant references MATLAB documentation, stating that MATLAB publishing supports standard LaTeX math mode directives but not those requiring additional packages, such as amsmath.
- It is mentioned that packages can potentially be added by modifying a source file, with a link to a related thread for further information.
Areas of Agreement / Disagreement
Participants do not reach a consensus on the reasons for MATLAB's syntax limitations, and multiple views on the compatibility of LaTeX commands with MATLAB remain evident.
Contextual Notes
Limitations include the unclear distinction between standard LaTeX commands and those requiring additional packages, as well as the specific conditions under which MATLAB accepts or rejects certain syntax.