Community Profile

photo

Meha


Active since 2014

Statistics

Content Feed

View by

Question


How to genarate a random variable in matlab with density function f(x)=x/2 for 0<=x<=2 and f(x)=0 otherwise
I am new to matlab and want to generate a random variable that has probability density function as f(x)=x/2 ,0<=x<=2 0 ...

9 years ago | 1 answer | 0

1

answer