Help with MuPAD function (stats::covariance) error at Matlab
显示 更早的评论
My code is below. Could you help me to avoid the below error?
syms x1 y1 x2 y2;
z=feval(symengine,'stats::covariance',[x1, y1],[x2, y2]);
>> ex
Error using mupadengine/feval (line 163)
Some data are of invalid type.
Error in ex (line 2)
z=feval(symengine,'stats::covariance',[x1, y1],[x2, y2]);
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with MuPAD 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!