how to implement matrix elements into a table?

回答 (1 件)

Image Analyst
Image Analyst 2018 年 12 月 29 日

0 投票

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

4 件のコメント

Fatma Abdullah
Fatma Abdullah 2018 年 12 月 30 日
i get this error:
undefined function 'table' of input arguments of type 'double'
John D'Errico
John D'Errico 2018 年 12 月 30 日
編集済み: John D'Errico 2018 年 12 月 30 日
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.
Fatma Abdullah
Fatma Abdullah 2018 年 12 月 30 日
yup!!...mine is 2012a :( :(...is there any other way?
Image Analyst
Image Analyst 2018 年 12 月 30 日
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 ExchangeTables についてさらに検索

タグ

質問済み:

2018 年 12 月 29 日

コメント済み:

2018 年 12 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by