Below is the function that I've created:
e = normrnd(0,sigma,[N,1]);
Lo = log10(p/(1-p)+ e);
p = 10.^Lo/(1+10.^Lo);
When I call the function, it gives me NxN matrix in which 1 column vector of a result of the function and the others are zeros.
I need just a column vector of a result.
Thanks in advance