zero value of probability
조회 수: 1 (최근 30일)
이전 댓글 표시
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);
댓글 수: 0
답변 (2개)
Paulo Silva
2011년 4월 9일
if error==0
error=eps; %or maybe another low value like 1e-5
end
P(k,1)= (error/100);
댓글 수: 0
Walter Roberson
2011년 4월 9일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!