Help in MatLab

roblem A:Use the Matlab function polyfit.m to fit an exponential equation of the form:y=aebx, tothe datax0. andb=0:188.
Problem B:The river sediment concentration is often described by the Rouse concentration equation:c=K1ξ1z(28)wherec=sediment concentration at a relative distanceξ, and(K;z) =fitting parameters. Fit theabove concentration equation with the concentration data in Problem 2, and find the values of(K;z).Hint: Transform Eq. (28) intolnc=zln1ξ1 lnK(29)and fit the data in terms of lncversus ln(1=ξ1).