Feeds
답변 있음
How to apply the same operation to an ever increasing number of columns?
The easiest method is to use a for loop. C = zeros(20, 7); for i = 1:7 C(:, i) = B(:, 1:i)*A(1:i)'; end C
How to apply the same operation to an ever increasing number of columns?
The easiest method is to use a for loop. C = zeros(20, 7); for i = 1:7 C(:, i) = B(:, 1:i)*A(1:i)'; end C
대략 2년 전 | 1
