From: Mike on
I have a fitting program where I am fitting gaussian curves...

After fitting these I want to access the sse, rquare, dfe, adjrsquare and rmse values. I'm unsure of how to do this.

I have the values displayed in terminal, but they are all incorporated into a goodness of fit value, gof, and include text...

This is a small part of the code...

[cf_,gof2] = fit(x(ok_),y(ok_),ft_,fo_);

when I display gof2, it outputs:

sse: 2.3172
rsquare: 0.9989
dfe: 53
adjrsquare: 0.9989
rmse: 0.2091

I want to know if there is a way to access just the value of say, sse?

Thanks,