Undefined function 'table' for input arguments of type 'double'.

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 18K views
Waxterzz
Messages
82
Reaction score
0
Hi!

Using Matlab R2012a:

typing this example to create a table:

t = [0 .3 .8 1.1 1.6 2.3]';
y = [.82 .72 .63 .60 .55 .50]';
B = table(t,y)

Getting this error:Undefined function 'table' for input arguments of type 'double'.

Don't know what to do..

Edit:

another example:

>> Age = [38;43;38;40;49];
Height = [71;69;64;67;64];
Weight = [176;163;131;133;119];
BloodPressure = [124 93; 109 77; 125 83; 117 75; 122 80];
>> T = table(Age,Height,Weight,BloodPressure)
Undefined function 'table' for input arguments of type 'double'.

Edit2: If I convert to single:
Undefined function 'table' for input arguments of type 'single'.

-_-
 
Last edited:
Physics news on Phys.org
A simple problem with a simple solution. Tables are in R2013b+, so you can't use them in R2012a. You'll have to get a newer version of MATLAB to use them (you can get a student version for just $50).