【发布时间】:2014-11-07 10:44:04
【问题描述】:
我想在 Matlab 2013b 中使用乳胶功能。这个函数的使用很简单,并且可以按我的预期工作:
s = sym('s');
latex((s+1)/3)
ans =
\frac{s}{3} + \frac{1}{3}
比我有一个简单的矩阵和乳胶函数返回以下错误:
A = [ 0 1 0; 1 -2 1; -2 4 -2];
latex(A)
Undefined function 'latex' for input arguments of type 'double'.
另一个例子:
latex(3/4 + 4)
Undefined function 'latex' for input arguments of type 'double'.
In 适用于符号变量,但不适用于整数。问题可能出在哪里?
【问题讨论】: