From: C. on
Hello,
I'm trying to fit one equation y=a*(b^c)*t to multiple plots.
I've got 6 plots which should have the same a and b parameters, but c differs (c is 1:6).
So it's in fact 6 equations which only differ in c, but a and b are the same.

I've got all data sets in an array and i tried to use cftool to fit them, but cftool won't accept arrays because it only works with 1-dimensional Arrays of each data set.
So i created one 1-dimensional array for each data set to plot them all in cftool and fit them, but that won't work sufficiently either because you get one set of paramters (a, b) for each plot and i just want one set of (a, b) for all c which gives me the best result when i fit every plot with that one set of parameters.

Could it be that this is a 3-dimensional problem because my function has a t and c dependancy and i should use surface fit? Or is there another way to get my a and b?

Thanks,