MATLAB: How can ı solve this

matrix array

Best Answer

[r,h]=meshgrid(1:.5:2.5,[1 5 12]);
v=pi*r.^2.*h;