MATLAB Answers

Warning: Unable to interpret LaTeX string

2 views (last 30 days)
213
213 on 8 Nov 2013
Commented: Walter Roberson on 9 Nov 2013
k=sym('piecewise([n = -1, log(x)], [n <> -1, x^(n + 1)/(n + 1)])');
text('Interpreter','latex',...
'String',['$$',latex(k),'$$'],...
'Position',[.1 .5],...
'FontSize',20)
what's wrong with my code? is my matlab version too old?

  1 Comment

Walter Roberson
Walter Roberson on 9 Nov 2013
You did not happen to mention which MATLAB version you are using.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by