Advertisement
Guest User

t

a guest
Dec 30th, 2015
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.30 KB | None | 0 0
  1. theta = rand(1000, 1);
  2. a = rand(1, 2000);
  3. b = rand(1, 2000);
  4. c = rand(1, 2000);
  5.  
  6. n = size(a,2);
  7. N = size(theta, 1);
  8.  
  9. s = bsxfun(@minus, bsxfun(@times, a, theta), b);
  10. Information = 1e5 * repmat(a .^ 2, N, 1) .* ((exp(s) ./ (1-exp(s))) .^ 2) .* ...
  11.   bsxfun(@times, 1-c, 1 ./ bsxfun(@plus, c, exp(s)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement