Reputation: 1
I am a beginner for Matlab. Undefined function 'gevrnd' for input arguments of type 'double'.
eps_type1_not_buy = gevrnd(0, 1, 0, num_obs, 1);
I can't figure out how to solve this at all.
My code is below.
While using "gevrnd", the following error occurred. num_obs = 600000
Undefined function 'gevrnd' for input arguments of type 'double'.
Upvotes: 0
Views: 29
Reputation: 1
I think it's because you are using a too-low version of Matlab. I tried your code in version 2022b and it doesn't have any problem. This is example
Upvotes: 0