Info
This question is closed. Reopen it to edit or answer.
Put a new variable at the top of a table
1 view (last 30 days)
Show older comments
I create a new variable a at table T. When I try to view T using viewer, a will be at the end (the most right) of the screen. Is it possible to set the variable a at the top of a table (the most left).
0 Comments
Answers (2)
Image Analyst
on 11 Jun 2018
Did you try using brackets, like with any other variable, like
T = [leftTable, rightTable];
Full demo:
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];
T1 = table(Age)
T2 = table(Height,Weight,BloodPressure)
T = [T1, T2]
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!