Error when using the function exprnd.
이전 댓글 표시
Hi everyone,
I got the following from using the function exprnd. I am not quite sure what went wrong, have anyone experienced this before? How do you troubleshoot it? Thanks in advance.
Error message:
Error using rand Input following 'like' must be a variable of a type that supports RAND. For example, double and single variables support RAND.
Error in exprnd (line 34) r = -mu .* log(rand(sizeOut, 'like', mu)); % == expinv(u, mu)
Thanks, SM
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!