MATLAB: How to plot intergratoion results into a table

MATLABtable

syms f(t) tf f(t)=8*exp(-0.1*t); F(tf)=100-int(f(t),t,0,tf);
t = 0 hours to 24 hours I was wondering how I could have a table with column of hours going from 1-24 and a colum of F(tf) with the values

Best Answer

Try this:
syms f(t) tf
f(t)=8*exp(-0.1*t);
F(tf)=100-int(f(t),t,0,tf);
tf=1:24;
Ftf=double(F(tf));
Tab=array2table([tf.',Ftf.'],'VariableNames',{'Hour','Value'})