how to implement matrix elements into a table?

回答(1 个)

Use the table() function. See the example in the help for table().

4 个评论

i get this error:
undefined function 'table' of input arguments of type 'double'
What version of MATLAB do you have? Tables were introduced in what seems to be R2013b. Which for some reason, seems like a LONG time ago. ;-) But the most likely reason you cannot use table is your release is too old.
yup!!...mine is 2012a :( :(...is there any other way?
Yes! Just upgrade. That's not the only improvement that has been made.
If you choose not to upgrade, then you can't use tables and will have to use matrices or cell arrays.

请先登录,再进行评论。

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by