zero value of probability
Ältere Kommentare anzeigen
After greeting and respect
please,anyone tell me how can I put this value not appear equal to
zero,this value must near from zero because it is compute
probability of error
P(k,1)= (error/100);
Antworten (2)
Paulo Silva
am 9 Apr. 2011
if error==0
error=eps; %or maybe another low value like 1e-5
end
P(k,1)= (error/100);
Walter Roberson
am 9 Apr. 2011
0 Stimmen
What data class is the array P, and what data class is your value "error" ?
Note by the way that error is the name of a built-in function, and using a variable of the same name is quite likely to result in problems.
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!