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

11 views (last 30 days)
I am using live editor to write a document, in which I need to represent the absolute value of a function.

Accepted Answer

Walter Roberson
Walter Roberson on 23 Apr 2019
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 $

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!