how to initiate a table in matlab

I want to initiate a table that i will later add names and numbers in it.
The table will be an array of 12x7
thanks.

回答(2 个)

A = rand(12,7) use this it will generate 12x7 table with random values in it
or you can use zeros(12,7)..if you want to initiate all values with 0

类别

帮助中心File Exchange 中查找有关 Tables 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by