photo

Zoya


Last seen: 1 year ago Active since 2023

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
Creating a mxn matrix that is all zeros except for the middle row and middle column which are 1s
% create a 6x6 matrix of zeros matrix = zeros(6); % set the middle two rows and columns to 1's matrix(3:4, :) = 1; matrix(...

1 year ago | 0