Chintan
Followers: 0 Following: 0
Feeds
답변 있음
Given a matrix "A", how to create a row vector of 1s that has the same number of elements as "A" has rows?
row_vector=ones(size(A(:,1)))' coloumn_vector=ones(size(A(1,:)))' result=row_vector*A*coloumn_vector
Given a matrix "A", how to create a row vector of 1s that has the same number of elements as "A" has rows?
row_vector=ones(size(A(:,1)))' coloumn_vector=ones(size(A(1,:)))' result=row_vector*A*coloumn_vector
거의 2년 전 | 0