You can replace one entire column with NaN very simply:
tableVariable.VarWithErrors = NaN(height(tableVariable),1);
To do multiple variables, put the above in a loop. There might be a one-liner solution, but I'm not seeing it right now.
If you are trying to do partial columns, let me know and I'll draw up an example for that (it's a little more involved).