MATLAB Answers

TeX/LaTeX: how to define cubic root?

1,356 views (last 30 days)
Igor
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.

Accepted Answer

Arnaud Miege
Arnaud Miege on 17 May 2011
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
Igor on 17 May 2011
Yes. At the legend :)
Thanks.
PS. They are generalized 'sqrt'...

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!