Borrar filtros
Borrar filtros

Using latex (amsmath) while publishing m code

14 visualizaciones (últimos 30 días)
Harsh Shukla
Harsh Shukla el 12 de Oct. de 2015
Comentada: Walter Roberson el 10 de Ag. de 2018
Hi,
I am trying to publish m file and I want to use amsmath and amsfont from latex. How can I include it ? I want to use the following latex code in m file and publish it:
\begin{equation*}
\begin{aligned}
& \underset{X}{\text{minimize}}
& & \mathrm{trace}(X) \\
& \text{subject to}
& & X_{ij} = M_{ij}, \; (i,j) \in \Omega, \\
&&& X \succeq 0.
\end{aligned}
\end{equation*}

Respuestas (1)

Walter Roberson
Walter Roberson el 12 de Oct. de 2015

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by