I have my own function. I need to generate its 10000 values which should be random like the rayleigh fading values generated using h=randn(N,1)+i*rand(N,1) like this line generate N random values similarly I need now similar values of my distribution. my function has input of three arguments whose values are different in one scenario . what I understand that I can take fix three values for one time and evaluate my function then get it one value. output values of my function is of complex values. whether I need to compute variance and average of my function values then loop over in between these values to get 10000 values .write in an array form .please correct me whether this is right way or what should I do.how do I write code in Matlab.?