PC Review


Reply
Thread Tools Rate Thread

3D averaging / histogram

 
 
jchambers13419
Guest
Posts: n/a
 
      26th May 2009
I need to create a 3D table from a multitude of data points, similar to the
2D histogram but in 3D. The data is engine data gathered from road testing
of a vehicle in the form of throttle position (TP), engine speed (RPM) and
engine load. Engine load is the value that I'm trying to develop a running
average/profile at the various TP and RPM points. RPM is the x-axis with the
first column being 500 rpm and then incremented to 6000 (see below). TP is
the y-axis starting at 0 and incrementing to full throttle being 750 counts.
Load is calculated by the engine PCM for the instananeous TP and RPM
conditions. I gather tens of thousands of the three point sets while driving
the car at various loads, speeds and acceleration rates. Data is collected
in .csv format. The resulting table is basically 10 rows x 10 columns in
size with:

x-axis (500, 800, 1100, 1400, 1700, 2000, 3000, 4000, 5000, 6000)
y-axis (0, 40, 80, 120, 160, 200, 250, 300, 500, 750)

My problem is how to process the data quickly and easily so that the load
data is sorted into the appropriate cells of the table (RPM, TP) and the
value of each load cell averaged and updated as load values are recorded for
each cell. For example, a small dataset might be

RPM, TP, LOAD
1338, 147, .235
2472, 220, .400
1190, 122, .210
4510, 540, .780
......

Data points 1 and 3 would be cast into the same cell (1100, 120) since the
RPM is between 1000 and 1499 and TP between 120 and 159. The resulting
average load for that cell would then be (.235+.210)/2 = 222.5. Data point 2
would fall into the (2000, 200) cell and point 4 would fall into the (4000,
500) cell.

I haven't been able to figure out a way to take tens of thousands of such
data points and construct the resulting table quickly and easily. This is
something that I have a need to do quite often so I'm desparately seeking
automation to make the task more efficient. Any help would be greatly
appreciated.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Histogram April Microsoft Excel Misc 2 7th Jun 2009 10:14 PM
Histogram bug =?Utf-8?B?TUo=?= Microsoft Excel Crashes 0 15th Sep 2007 02:16 AM
More in a histogram =?Utf-8?B?TW90YWFk?= Microsoft Excel Misc 1 16th Mar 2007 08:50 PM
I was creating a histogram; now i have data but no histogram. =?Utf-8?B?U2hhbm5vbk1pbGxzMw==?= Microsoft Excel Worksheet Functions 0 14th Jun 2006 12:03 AM
How to Histogram w/o raw data but histogram Table on Excel 2005 Microsoft Excel Charting 1 1st Feb 2006 06:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:52 PM.