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...

6 years ago | 1 answer | 0

1

answer

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)= ...

6 years ago | 1 answer | 0

1

answer

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...

6 years ago | 1 answer | 0

1

answer

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...

6 years ago | 1 answer | 0

1

answer

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(...

6 years ago | 1 answer | 0

1

answer

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...

6 years ago | 1 answer | 0

1

answer

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...

6 years ago | 1 answer | 0

1

answer

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...

6 years ago | 1 answer | 0

1

answer

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 ...

6 years ago | 1 answer | 0

1

answer

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....

6 years ago | 1 answer | 0

1

answer

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 ---...

6 years ago | 0 answers | 0

0

answers

Question


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

6 years ago | 1 answer | 0

1

answer