photo

Chintan


Last seen: 3 months ago Active since 2023

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
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 years ago | 0