Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SDETERS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

3d correlation

Status
Not open for further replies.

durablack2

Automotive
Jun 25, 2013
58
I am trying to compute the correlation coefficient between two 3d matrices. Specifically, i am trying to compare a simulated model's efficiency with given input torques and speeds to a bench efficiency test at given torques and speeds.

I can go in and pick out several points determine the correlation but being there are hundreds of points in both data files, i'd rather use a function to look at the entire data set.

Is there a function in matlab that allows this kind of computation?

Example of the data would be in this format (I have thousands of data points in each data file however).

Speed Torque Efficiency
600 500 .95
700 550 .96

 
Replies continue below

Recommended for you

I should also note that the bench data is at fixed interval speed and torque points whereas the simulated data is not, so I would be looking for a function that allows interpolation.
 
Define a new regular grid of rpm vs torque. Interpolate you sim data and test data (separately) onto that grid. run whatever stats you like for goodness of fit at those grid points.

Matlab's rather inelegant surface fitting tools are here . There are alternatives at the file exchange.

Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
"mahal" procedure. (Mahalanobis distance) Use this function to compute a confidence ellipsoid.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor