Assuming you have a table T
and you want to drop the column named columnName
, you can use the removevars
function:
main.m33 chars2 lines
This will create a new table with the columnName
column removed from T
. Alternatively, you can modify the original table in-place using:
main.m25 chars2 lines
This will remove the columnName
from the original table T
.
gistlibby LogSnag