Best Fit Curve and Function for 4D Data?

892 Views Asked by At

I have experimental data of 4 dimensions, and I want to computer-generate an approximated function from that. If it helps to clarify, I'm testing a pendulum's period based on variable length, starting angle, and mass as part of a school lab report and want to find the period as a function of length, angle, and mass. And then I'd make a cool 4D graph (period = hue of color) to go with it :)

Excel has something like this for 2D functions where I only have to specify what kind of function to fit it to, such as a power or polynomial function. If this is possible, is there free software that can do this for 4D functions? Or can Excel do it?