where t is the run time, s is the problem size, and and are the parameters you are going to estimate.
You can use either the matrix form or the summation form to do the computation.