I'm trying to make a table in Matlab and initialze it with zeros so I did it in this way:
z =zeros(4,4);
exTab = table(z,'RowNames',{'row1' 'row2' 'row3' 'row4' }, 'VariableNames',{'column','column2','column3','column4'})
and I received this error
The VariableNames property must contain one name for each variable in the table
it recognizes all columns of the zeros as just one column, how to do it in the right way?