Question

How to measure the hamming distnace between the rows of a matrix?

hello, how can I find the hamming distance among the rows of a matrix A without repeation. For example: A=[ 0,1,1,1,0,1,0; 0,...

9 days ago | 1 answer | 0

Answered

How to write the base notation in matlab?

ok I found the answer 'log_2'

How to write the base notation in matlab?

ok I found the answer 'log_2'

2 months ago | 0

| accepted

Question

How to write the base notation in matlab?

Hello, How to write the base notation in Matlab? for example, when we write log of base 2 . Regards,

2 months ago | 1 answer | 0

Question

How to replace the empty cells in a cell array by a 4-bits string?

Hello, How to replace the empty cells " [ ] " in the attached matrix to a 4-bits string we can convert the whole array matrix...

2 months ago | 2 answers | 0

Question

How to convert each row in a cell array to a (1*n ) double matrix?

Hello, I have the attached cell array of size (164*102) where each cell is either contains 4-bits binary string or nothing (...

2 months ago | 3 answers | 0

Question

How to get the limits of the highest frequency bin in a histogram?

Hello, Is it possible to get the limits of the highest frequency bin in a histogram?. For example, in the attached figure, I ...

4 months ago | 1 answer | 0

Question

How to reshape a square matrix diagonally to a vector?

Hello, Suppose that we have the following 3x3 matrix: A=[ 0 1 0 1 1 1 1 1 0]; I need to reshape it to (010111101) ...

7 months ago | 2 answers | 0

Question

How to reshape a (1*200) matrix to (25*8)matrix?

Hello, Suppose that we already have a (1*200) matrix, how we could reshape it to a (25*8) matrix? Regards,

7 months ago | 0 answers | 0

Question

How to reshape the columns of a matrix into one row?

Hello, please I need help in this: suppose that we have a (3*4) matrix that have only binary values either 0 or 1, now I need...

7 months ago | 1 answer | 0

Question

convert numbers that contain the scientific notation e to the long format then round it to the fourth decimal?

Hello, suppose that we have a matrix A (2*3) that contains the values: A= [ 0.0037 0.0089 0.0057 0.0041 0.-3.000000...

8 months ago | 1 answer | 0

Question

How to put each group of cells in the same row ?

Hello, Let we have a cell array A of size (1*5216), I want to put each 16 cell in the same row. So how can I do that ?

1 year ago | 1 answer | 0

Question

How to show several histograms in the same window?

Hello, Suppose that we have the matrix A (3*n) and we want to show the histograms of A(1,:) and A(2,:) in the first window an...

1 year ago | 1 answer | 0

Question

how to get a number A which is divisible by a specific number B?

Hello, Suppose that I have two numbers, A and B. A is supposed to be divisable by B ( residual is zero) but it is not ! Thus,...

1 year ago | 2 answers | 1

Question

how to make the cells of size (1*n) be shown in a cell array of size (m*n)?

Hello, Suppose that I have the cell array C of size (3,5) that have these elements: C= { 1x5cell; 1x5cell ;1x5cell} where C...

1 year ago | 1 answer | 0

Question

How to create overlapping blocks using a matrix rows ?

Hello, Suppose that we have the matrix A where: A=[0 1 0 0 1 1 0 1 0 1 0 1 0] now, we want to create 10 blocks where each bl...

1 year ago | 1 answer | 0

Question

how to search about a matrix in a cell?

Hello, Suppose that I have the cell matrix A which contains the following elements: A={ [0;0] [0;1] [1;0] [0;0] } So I...

1 year ago | 2 answers | 0

Question

How to put each two elements in a matrix in a cell ?

Hello, I want to create cell array using the elements of double array where each cell is a (1*2) matrix resulted by putting e...

1 year ago | 2 answers | 0

Question

Is there any way to normalize any matrix values to be between (-1) and (1)?

Hello, Is there any way to normalize any matrix values to be exactly between (-1) and (1)? I attached the matrix. regards,...

1 year ago | 3 answers | 0

Question

How to check if each two successive rows are identical?

Hello, Suppose that we have the matrix A(300*100) where each two "successive" rows should be identical, So I want to get anot...

1 year ago | 1 answer | 0

Question

How to normalize the values of matrix to make it greater than zero and less than one?

hello, ho to normalize the values of a matrix to make it greater than zero and less than one? regards,

1 year ago | 4 answers | 0

Question

How to remove the scientific notation such as -1.200340354078778e+11 from a matrix?

Hello, I have a matrix A that have values such as (-1.200340354078778e+11), how to remove this I order to round the values to...

1 year ago | 2 answers | 0

Question

How to fill a matrix with numbers from a to b ?

Hello, how to fill a matrix with numbers from a=4 to b=40 with increasing factor c=2 for example: 4,6,8,......,38,40. ...

1 year ago | 1 answer | 0

Question

How to compare each four rows by each other?

Hello, Suppose we have 8 rows where each element in a row is either zero or one. I want to compare rows to count differences ...

1 year ago | 2 answers | 0

Question

How to permute a row vector based on sepecfic method for permutation?

Hello, suppose we have the matrix x,y,and z that is 1*28 dimension, I want to permute each one of them in this way: x= [x(...

1 year ago | 1 answer | 0

Answered

How to concatenate the rows of char array containing 8-binary string ?

No, actually I just got the answer here <https://www.mathworks.com/matlabcentral/answers/349827-how-can-i-store-binary-strings...

How to concatenate the rows of char array containing 8-binary string ?

No, actually I just got the answer here <https://www.mathworks.com/matlabcentral/answers/349827-how-can-i-store-binary-strings...

1 year ago | 0

Question

How to concatenate the rows of char array containing 8-binary string ?

Hello, I got char array that have 8-binary string, for example: 10111011 10101010 and I want to concatenate them in ...

1 year ago | 2 answers | 0

Question

How to read .ecg file ?

Hello, I need to use a database from this website: <http://thew-project.org/THEWFileFormat.htm THEW File FORMAT and readi...

1 year ago | 0 answers | 0

Question

what is the difference between right and left eigenvector?

Hello, I read here: <https://www.mathworks.com/help/matlab/ref/eig.html> that there are two types of eigenvectors, I google...

1 year ago | 1 answer | 0

Question

Is there any function can compute the value of sgn?

Hello, I read in a paper the following : sgn(A.B), where A and B are vectors. So what does that mean and is there any built i...

1 year ago | 1 answer | 0

Question

How to implement ||Wi||^2 = 1 for all i ?

Hello, I read this in a paper where W is a vector with index i. I didn't understand | | w | | but I guess it is related to a ...

1 year ago | 1 answer | 0