Why function "exprnd" is not available in matlab R2008b

조회 수: 1 (최근 30일)
Bolong
Bolong 2013년 1월 15일
Just as the title. Could you give me a hand? Thanks all.

채택된 답변

Walter Roberson
Walter Roberson 2013년 1월 15일
exprnd is part of the Statistics Toolbox, which is an optional product for Commercial and Academic licenses.
The Statistics Toolbox is included in the Student Version licenses but the Toolbox might not be installed by default. I note that you are using R2008b, which has the only Student Version release (so far) that ends in 'b', so you might be using Student Version.
exprnd is part of the R2008b Statistics Toolbox.
  댓글 수: 2
Bolong
Bolong 2013년 1월 15일
Thanks for your answer, that means I probably need to install a "student version" matlab product if I want to use the function exprnd?
Tom Lane
Tom Lane 2013년 1월 15일
I don't think I'd be giving away valuable secrets by telling you that exprnd is a relatively simple function:
>> rng(0)
>> exprnd(5,2,3)
ans =
1.0245 10.3184 2.2915
0.4947 0.4530 11.6374
>> rng(0)
>> -5*log(rand(2,3))
ans =
1.0245 10.3184 2.2915
0.4947 0.4530 11.6374

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by