I have 2 cell arrays (both of the same size 30*1) where all their elements are timetables. Lets assume that the first element (timetable) from the first cell array is the following:
timeStamps = datetime([2017 3 5; 2017 3 5; 2017 3 5; 2017 3 5; 2017 3 5; 2017 3 5; 2017 3 5;
2017 3 5]);
Volume = [51 101 150 200 254 330 35 40]';
Price= [40 35 40 25 40 35 10 25]';
T= table(timeStamps, Volume, Price)
A= table2timetable(T)
and the first element (timetable) from the second cell array is:
timeStamps = datetime([2017 3 5; 2017 3 5; 2017 3 5; 2017 3 5; 2017 3 5; 2017 3 5; 2017 3 5; 2017 3 5]);
w = [22 10 3 4 4 3 3 4]';
Q= [40 1 2 3 40 335 120 2]';
M= table(timeStamps, w, Q)
B= table2timetable(M)
How can I create a new cell array (of size 30*1) such that their elements are composed by the append of the variables of the first two timetables. In this case, the first element (or timetable) from this new cell array will look like:
N= table(timeStamps,Volume,Price, w, Q)
R= table2timetable(N)
Sorry if I do not defined the cell arrays but I find it useless to get the info that I want to know.
Thanks a lot for all your help!