How to create an m x n matrix of cell arrays where each cell contains two zeros

Viewed 29

Using cell(m,n) I can create an mxn cell-array where each element contains one zero. However, in my case it is necessary that each element contains two zeros.

How is this possible? The result should look like this (e.g. m=2,n=3):

A =

  2×3 cell array

{[0 0]}    {[0 0]}    {[0 0]}
{[0 0]}    {[0 0]}    {[0 0]}
0 Answers
Related