issymbolic.m
来自「多小波图像压缩处理」· M 代码 · 共 14 行
M
14 行
function yesno = issymbolic(S)
try
% Matlab cannot handle symbolic matrices of more than two
% dimensions correctly. We need to string S out first.
S = double(simplify(S(:)));
yesno = 0;
catch
% if S contains symbolic variables without numerical values,
% the conversion to "double" will fail. Then we end up here.
yesno = 1;
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?