Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有一个匿名函数f = @(x) x^2,我想将其转换为符号函数。有内置命令吗?
f = @(x) x^2
您可以将其传递给 SYM:
f = @(x) x^2; g = sym(f)
但是大多数符号函数在接收到函数句柄时会自动执行此操作(subs,int等...)
subs
int