how to implement matrix elements into a table?

Answers (1)

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

4 Comments

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.

Sign in to comment.

Categories

Tags

Asked:

on 29 Dec 2018

Commented:

on 30 Dec 2018

Community Treasure Hunt

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

Start Hunting!