Issue
I'm trying to print a Latex expression in the Ipython terminal, so I'm using this code:
from IPython.display import display, Math, Latex
display(Math("$$E[\hat{r_x}(k)] = \dfrac{1}{N} \sum_{n = |k|}^{N-1} \
E[x(n)x^*(n-|k|)]=$$"))
display(Math("$$= \dfrac{1}{N} \sum_{n = |k|}^{N-1} r_x(|k|) = \
\dfrac{r_x(k)}{N} (N-|k|) = r_x(k) \
( 1-\dfrac{|k|}{N} )$$"))
But the parenthesis around the fraction doesn't look good, so I tried to add \left( \right)
to the expression, but it just shows me this:
I hope someone can help me. Thank you for your responses.
Solution
try these instead of \left( \right)
display(Math("$$ \\big( \Big( \\bigg( \Bigg($$" ))
display(Math("$$ \\big[ \Big[ \\bigg[ \Bigg[$$" ))
Answered By - mujjiga
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.