w********e 发帖数: 944 | 1 I have to do calculation as (x1^a1)*(x2^a2)...(x4000^a4000) in matlab. xi
falls in [0,1] and the summation of all xi's is 1. Most ai are zeros; for
those greater than zero usually have small integer value, say, 1, 2, 10.
The result of calcluation is always zero. What can I do with it? | c**z 发帖数: 1014 | 2 do log first and then exp^(..)
【在 w********e 的大作中提到】 : I have to do calculation as (x1^a1)*(x2^a2)...(x4000^a4000) in matlab. xi : falls in [0,1] and the summation of all xi's is 1. Most ai are zeros; for : those greater than zero usually have small integer value, say, 1, 2, 10. : The result of calcluation is always zero. What can I do with it?
|
|