I need to solve the following differential equation numerically: $$ C \frac{dT}{dt}=(1-\alpha (T))Q-\epsilon \sigma T^4 $$
Where $Q,\sigma,\epsilon$ are constants and $\alpha(t)=0.5-(0.2)\text{tanh}(\frac{T-265}{10})$
So far I tried a few built in MATLAB like dsolve functions but none of them seem to work. This is the governing equation for the global mean surface temperature (Equation 2.10) from Kaeper and Engels "Mathematics and Climate".
Here is an implementation in R programming language of the Euler-scheme to numerically solve the given ODE with some arbitrarily chosen values for $Q,\sigma, \epsilon$ (and presumably $C$ is also a constant?). An initial condition is required. (Are you sure the authors do not use one?)
Comment for clarifications, questions or corrections please.