MATLAB Answers

How to fill a matrix with ones

I have two matrix A=109*26 and B=1600*26.
I want to fill A with ones to reach 1600*26.

  댓글 수: 0

로그인 to comment.

태그

답변 수: 1

madhan ravi 님의 답변 23 Jul 2019
madhan ravi 님이 편집함. 23 Jul 2019
 채택된 답변

A =[A; ones(1600-109,26)]; % size(A)

  댓글 수: 0

로그인 to comment.



Translated by