MATLAB Answers

Igor
1

TeX/LaTeX: how to define cubic root?

Asked by Igor
on 17 May 2011
As known, \sqrt{...} for square root.. One can use ^(1/3), but I wish beaty sign of root...

  0 Comments

Sign in to comment.

1 Answer

Answer by Arnaud Miege
on 17 May 2011
 Accepted Answer

Is it as an annotation on a plot? If so, you can do something like:
figure('color','white','units','inches','position',[2 2 4 6.5]);
axis off
h(1) = text('units','inch', 'position',[.2 5], ...
'fontsize',14, 'interpreter','latex', 'string',...
['$$\sqrt[3]{x}$$']);

  1 Comment

Igor
on 17 May 2011
Yes. At the legend :)
Thanks.
PS. They are generalized 'sqrt'...

Sign in to comment.