Pascal's Triangle as a 2-dimensional list Create a Pascal's Triangle that is a nested list and contains zeros in the unused spots.

In the output array, the numbers of Pascal's Triangle are separated by zeroes and padded by zeroes on each side so that they are centered. For example, the bottom row (last sub-array) must have no zeroes on the left and the right; the second-last sub-array has one zero padding on each side, and so on.

Here is the output for input 5:

[[0,0,0,0,1,0,0,0,0],
[0,0,0,1,0,1,0,0,0],
[0,0,1,0,2,0,1,0,0],
[0,1,0,3,0,3,0,1,0],
[1,0,4,0,6,0,4,0,1]]


As usual, the solution with the fewest bytes wins.
Mathematica, 70 68 bytes
NestList[ListConvolve[{1,0,1},#,2]&amp;,Join[#,{1},#],#2]&amp;[0~Table~#,#]&amp;

Similar to the MATL solution.