Feeds
질문
Multiplying each row vector with each column vector.
I have two matrix X and Y of shape 7800x784 and 784x7800. X !=Y'. I want to multiply each row of X with each column of Y to get ...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
Applying a function to each row vector of a matrix
I have a function that I want to apply to each row of a 7800x784 matrix. The function returns a scalar and puts it into a 7800x...
거의 8년 전 | 답변 수: 1 | 1
1
답변질문
Using arrayfun on 2d matrix
for i = 1:D Xtr = arrayfun(@(x) binarize(x, threshold), Xtrn(:, i)); end Xtrn is a MxD matrix Xtr is a MxD matrix ...
거의 8년 전 | 답변 수: 1 | 0
1
답변질문
Vectorising this particular for loop
for c = 1:M YY(c,1) = Y(c,:)*Y(c,:)'; end *Y is a MxD matrix* *I want to get a matrix YY that is Mx1*
거의 8년 전 | 답변 수: 1 | 0

