MATLAB: I dont know how to write this code in one command can someone help me

help

Perform the following using one command
1. Generate an empty matrix N
2. Initialize elements of ? (3 ∗ 4)to be zeros
3. Generate matrix ? and fill it with ones (same size of N) 4. Matrix ?= 3 1 7; 2 4 −2; 2 −1 0 , find matrix ? in which all elements of ? are doubled 6 2 14 ;4 8 −4; 4 −2 0
5. Find matrix ?, in which all elements of ? are less by 1
6. Find matrix ?, which is the sum of elements in ? and x

Best Answer

N=[];%empty matrix geneation
N=zeros(3,4)% Question 2
O=ones(3,4)% Qusetion 3
L=[3 1 7; 2 4 -2;2 -1 0];
X=L+L;% Qusetion 4
Y=X-ones(3,3);% Qusetion 5
Z=Y+X% Qusetion 6