From: fckool on 13 May 2010 10:10 I have to calculate the entropy and information of each symbol, I do it later on with two formulas. but for that I have to have the same number of symbols in the files. txt
From: fckool on 13 May 2010 11:29 forget it... your code is correct because when you remove the corresponding value on occur vetor you automatically have the correct value on the Prob vector. I have other question.. (sorry) I have a for cycle where a enter 2 values manually de Simbs and their Probably .. I want do a condition that don't let me introduce a value bigger than 1 like its Sum. when it happens I want the user introduce again the value.. it's possible?
First
|
Prev
|
Pages: 1 2 3 Prev: How to connect my USB camera with MATLAB and preview it? Next: How to use Contour Plot |