photo

Tushar Parmar


Last seen: 4 years ago Active since 2020

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?
A = [1:5; 6:10; 11:15; 16:20] B(1:4)=1; f=B*A C(1:5)=1; C=C' result=f*C

4 years ago | 1