I realize this is a pretty simple operation, however im totally lost, and no post I could find seem to touch on the exact same subject as mine.
I have a text file, where each line is formatted like so:
float1,float2,float3,float4,float5,float6
Each float is separated by a comma. The number of lines will vary, however there will always be 6 floats per line.
Id like to read this into an array, and then at a later point I want to take the average values of all float1's and all float2's etc.
Once I have all the averages I can output a new 1D array with :
[avgFloat1, avgFloat2, avgFloat3, avgFloat4, avgFloat 5, avgFloat6]
Any hints on where to start with this?