Community Profile

photo

Tushar Parmar


Last seen: 1 year ago Active since 2020

Statistics

  • First Answer

View badges

Content Feed

View by

Answered
Given a Matrix A, create a row vector of 1s that has 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

1 year ago | 0