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

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

2 years ago | 1 answer | 0

Question

how to change the increment in for loop?

Hello, I have this line of code in C++ and I need to know its equivalent in Matlab: for (i =0 , i<100 , i=i+4) ?

2 years ago | 1 answer | 0

Question

how to create pairwise label matrix ?

Hello, I aim to create a label matrix that works as the following: suppose I have the samples (1,2,3,4) as vectors and I w...

2 years ago | 2 answers | 0

Question

How to have a matrix that organize samples according to distance ?

Hello, I want to create a matrix that organize the input samples (51 features * 652 sample) according to the distance between...

2 years ago | 1 answer | 0

Question

Is it possible to project vector onto another vector that has different length ?

Hello, Is it possible to project vector (a) onto another vector (b) that has different length? for example, let a is a vecto...

2 years ago | 2 answers | 0