You can use vertcat()
function to vertically concatenate two tables if they have the same variable names.
Here's an example:
main.m230 chars7 lines
In this example, T1
and T2
has the same variable names 'Var1' and 'Var2'. The resulting table T3
will have six rows and two variables.
Note that the horzcat()
function can also be used to concatenates two tables side-by-side.
gistlibby LogSnag