搜索资源列表
STRING
- string tokeniser using c language
huffman-code
- 程序的算法 1)先输入以下字符串和数组,其中sym为字符串中出现的信源符号,p为各符号出现的概率,seq为要进行编码的符号序列。如下所示: 2)初始各字符的区间:a[0,0.1),b[0.1,0.3),c[0.3,0.6),d[0.6,1.0) 3)利用以下公式计算区间的上下限: Li+1=Li+rangei*r_L Hi+1=Li+rangei*r_H -Program Algorithm 1) to enter the following string a
struct2mat
- [X,n]= STRUCT2MAT(S) converts a structre S into a numeric matrix X. The contents of each *numeric* field of S (either a vector or a matrix) will form 1 column of X. Fieldnames are returned in cell array n . If the fields of S aren t of the s