Clear Filters
Clear Filters

curly brackets system of equations via LaTeX

20 views (last 30 days)
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}$');

Accepted Answer

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:
figure
title('$\left\{\begin{array}{@{}ll@{}}\sin(x-y)-xy+1=0 \\ x^2-y^2=0.75 \end{array}\right.$', "Interpreter", "latex")

More Answers (1)

Stephan
Stephan on 4 Dec 2020
Edited: Stephan on 4 Dec 2020
figure
title({'$sin(x-y)-xy+1=0$','$x^2-y^2=0.75$'}, 'Interpreter','LaTex')
  1 Comment
1i10
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.

Community Treasure Hunt

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

Start Hunting!