回答済み alternative to log?
No matter what transformation you use, the result, prod(pi, i=1:n) --> 0, so eventually you will get underflow in fixed precisio...
14年以上 前 | 0
回答済み Loop unrolling question
Most of those manuals or books are out of date, or are unaware of the JIT compiler, or do not understand what the JIT compiler d...
14年以上 前 | 0
回答済み Loop unrolling question
David,
What you call _loop unrolling_ is not. Here is a rolled-up loop:
for i = 1:n
a(i) = b(i)*c(i)
end
...
14年以上 前 | 0
回答済み Why does 1 - 2/3 - 1/3 not equal zero?
Ned,
Let me add to the confusion by asking
1. Why does |en1 = (1 - 2/3) - 1/3 = 5.5511e-017 = 2^(-54) = eps/2^2|?
2. Why does...
15年弱 前 | 1
質問
What does RANDPERM miss?
Abstractly, a random permutation generator (RPG) is a function that maps a random bit-string of length |b| into a permutation of...
回答済み MATLAB's accuracy of digits number
Here is a quotation from Prof Nick Trefethen FRS, Oxford:
11. _No physical constants are known to more than around eleven digit...
回答済み Profiler Paradox
In certain cases the profiler is worse than useless -- it is misleading. As you will have noticed, the profiler adds a lot of ov...
約15年 前 | 0
回答済み Does MATLAB have a Birthday Problem?
Reply from Derek O'Connor:
I must apologize for the omission of the RNG used. It was in my
original draft but somehow got left ...
15年以上 前 | 1
| 採用済み
質問
Does MATLAB have a Birthday Problem?
The Birthday Paradox or problem asks for the probability that in a
room of n people, 2 or more have the same birthday (not date)...