By using the census population data, Show that the relationship results between t and the log of the population by setting . To find and , you use the code of polyfit, where this data is fitted in the form of
So, let's define population as p
And log of p is
t = (cdate - 1790)/10;
lnp = @(c) log(c(2)) + c(3)*t;
polyfit( lnp, t)
I write this code to find c(2) and c(3). But this code does not work. I get error.