For live scripts, using the LaTex equations, how to represent the absolute value?

12 次查看(过去 30 天)
I am using live editor to write a document, in which I need to represent the absolute value of a function.

采纳的回答

Walter Roberson
Walter Roberson 2019-4-23
Apparently it is not easy to do "properly"; see https://tex.stackexchange.com/questions/43008/absolute-value-symbols
What might be good enough for your purposes is \left|EXPRESSION\right| such as
which is $ \left|sin(x)\right| $ without the space around the $

更多回答(0 个)

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by