"Too many input arguments." error in slicesample command execution
显示 更早的评论
Dear Matlab community,
f = @(x) exp(-x.^2/2).*(1 + (sin(3*x)).^2).*...
(1 + (cos(5*x).^2));
N = 2000;
x = slicesample(1,N,'pdf',f);
I get the following error:
Error using slicesample
Too many input arguments.
What is going wrong? By using "ver", I know I do have the Statistics toolbox installed
Statistics Toolbox Version 8.2
Best regards!
Khoa.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Hypothesis Tests 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!