MATLAB: Is there a way to add a single value to every value in a table at once

additiontable

I've got a set of values for the temp in Celsius, and I just need to add 273.15 to every value in the table. The plus sign seems to be throwing off MATLAB, is there a specific way it needs to be written? The best I have so far is TempKelvin = data(:,2)+273; , which is not working.

Best Answer

TempKelvin = data{:,2}+273;
Note that the result will be a numeric vector, not a table.