MATLAB Answers

curly brackets system of equations via LaTeX

42 views (last 30 days)
1i10 on 3 Dec 2020
Why is this not working correctly and how can I fix it?
title('$\begin{cases}\sin(x-y)-xy+1=0 \\ x^2-y^2=0.75\end{cases}$');

Answers (2)

Stephan on 4 Dec 2020
Edited: Stephan on 4 Dec 2020
title({'$sin(x-y)-xy+1=0$','$x^2-y^2=0.75$'}, 'Interpreter','LaTex')
  1 Comment
1i10 on 4 Dec 2020
This is not what I meant. My curly brace does not combine these two equations. And it should be like this:

Sign in to comment.

Bohdan Syvashchenko
Bohdan Syvashchenko on 17 Feb 2021
I am not familiar with LaTex but trying back and forth I came up with this solution:
title('$\left\{\begin{array}{@{}ll@{}}\sin(x-y)-xy+1=0 \\ x^2-y^2=0.75 \end{array}\right.$', "Interpreter", "latex")

Community Treasure Hunt

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

Start Hunting!