Feeds
답변 있음
Construct a 5 x 10 array that contains zeros. Assign elements at (row, column) (3,5), (2,4) and (1, 9) values of 44. Display the matrix.
M = zeros(5, 10) M(1, :) = 15:-3:0 % Row 1 M(2, :) = 10:7:73 % Row 2 M(3, 7:9) = [3, 2, 1] % Row 3 M(4, :) = 10 % Row 4 M(5...
Construct a 5 x 10 array that contains zeros. Assign elements at (row, column) (3,5), (2,4) and (1, 9) values of 44. Display the matrix.
M = zeros(5, 10) M(1, :) = 15:-3:0 % Row 1 M(2, :) = 10:7:73 % Row 2 M(3, 7:9) = [3, 2, 1] % Row 3 M(4, :) = 10 % Row 4 M(5...
1년 초과 전 | 0
