If I have a table of 46 variables and I want to add on new variables to this table which are the squares and cubes of some of these variables (columns 10 and 12-18) how can I accomplish this? I would be adding on 16 new variables (columns) in all to the original table.
MATLAB: How to add variables to a table that are products of other variables
table and matrix operations
Best Answer