Community Profile

photo

Hardik Mittal


Last seen: 2 months 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
Input: A = [1:5; 6:10; 11:15; 16:20] B(1:4)=1; D=B*A C(1:5)=1; C=C' result=D*C Solution A = 1 2 3 ...

1 year ago | 0