Question


To refer index of the first number in every column in 3d matrices
t (:,:,1) = 1 6 11 2 7 12 3 8 13 4 9 14 5 10 15 t (:,:,2)= 16 21 26 17 22 27 18 23 28 19 24 29 20 25 30 How can I re...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


Assigning numbers to 3d matrix.
How can I assign numbers the following matrices? table (:,:,1) = 1 6 11 2 7 12 3 8 13 4 9 14 5 10 15 table (:,:,2)= ...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


Insert number 1 to certain column and row in a matrices
I have 3D (9x10x2) matrices named Table. table = zeros(9,10,2); %Create 3d table I want to insert 1 like below table (:,:,1...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


How to detect ones and its location in a column
I have matrix A, A= [0 0 0 0 0 1 1 0 0 0] How can I detect the ones in the vector and also its location in a column? The resu...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


Why did the matrix symbol become 10x10?
>> format long mat = [ 0.7188 0.0625 0.0625 0.0469 0.0313 0.0156 0.0156 0.0156 0.0156 0.0156 ]; index = find(ismember(mat,min(...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


How to sort new vector of the result of sum smallest probability?
I have matrix A with 10 probabilities. Then, I get the smallest probability index which is 9 and 10 A=[0.7188 0.0625 0.0625 0.0...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


How to determine the index of two smallest probability in a vector
I have a vector A A=[0.7188 0.0625 0.0625 0.0469 0.0313 0.0156 0.0156 0.0156 0.0156 0.0156] How can I find the two smallest pr...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


How to label data of probability?
I have set of probability named A. A= [0.7188 0.0625 0.0625 0.0469 0.0313 0.0156 0.0156 0.0156 0.0156 0.0156] How can I assig...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


How to get the vector in a matrix (specific location)
I have matrix A (8x4) A= [ 1 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 4 5 6 7 ...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


How to get the index of new number in descending sequence vector
I have probability named A and B A=[ 0.6 0.2 0.1 0.5 0.5] B=[ 0.15] Then the probabilty is arranged and named C C=[0....

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


Rearrange variable in same column and define new variable
I have a table of probabilities arranged in descending order. *Symbol*---- *Probability* S1 ---- 0.7188 S2 ---...

environ 6 ans il y a | 1 réponse | 0

0

réponse

Question


HELP Canonical Huffman coding
Hi, can some one share the source code for Canonical Huffman? Thank you...

environ 6 ans il y a | 1 réponse | 0

1

réponse