Community Profile

photo

Zoya


Last seen: 6 mesi fa Attivo dal 2023

Statistiche

  • First Answer

Visualizza badge

Content Feed

Visto da

Risposto
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(...

7 mesi fa | 0