Convert the following pieces of code in just a single line of code. In all cases, A and B are arrays of size 5 x 5. Important: The expression \"single line of code\" implies a single command or equality. In other words, the code: X=A+1; X=X+B; is considered to be TWO lines.
(a) (4%) for i=1:5,
for j=1:5
A(i,j)=B(i,j)+1;
end
end
_________________________________
(b) (4%) for i=1:3
for j=2:4
A(i,j)=B(i,j);
end
end
_________________________
(c) (5%) for i=1:3
for j=2:4
A(i,j)=B(i+2,j+1);
end
end
_________________________________
(d) (4%) for i=1:5
for j=1:5
A(i,j)=1/(B(i,j))^2;
end
end
_________________________________
(e) (5%) for i=1:5
for j=1:5
A(i,j)=B(6-i,j);
end
end
_________________________________