Help! how to implement this concave function in cvx

f(t, E)=tlog(1+∑Ei/t), where ∑Ei=E1+E2+…+En, Ei>=0, t>0
is there any idea that can implement such a function in CVX?

Edit: Whoops, I mis-read your function

I have already know matlab. However, there is an error when I enter this function. I think cvx may not address the function where the variables are in the form of fraction. Do you know how can I tansform this function or enter which form into the CVX? Thank you very much!

where E = [E_1;E_2;...;E_n]

Thank you very much. That seems make sense! I will try it in the simulation.