Waseem Zafar
Followers: 0 Following: 0
Feeds
답변 있음
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] R = [1 1 1 1] C = [1;1;1;1;1] Z = A*C result = R*Z
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] R = [1 1 1 1] C = [1;1;1;1;1] Z = A*C result = R*Z
대략 1년 전 | 0