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

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:
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).
 

Similar threads

Replies
4
Views
17K
  • · Replies 5 ·
Replies
5
Views
9K
  • · Replies 2 ·
Replies
2
Views
148K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
3
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
22K
  • · Replies 1 ·
Replies
1
Views
3K