Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mean of array
#1
Hi all,
i am new here and hope i can find some help.

i have a two dimensional array. in the first column is the distance in mm and in the second column are height values.
i want to calculate the mean of the z values every centimeter. the amount of values per centimeter is not constant.
i dont have a clue how to do this.
i hope you can help me
Thanks
Monti
Reply
#2
I don't understand what means "z values every centimeter"? We have,e.g. column of distances, named 'd', column of heights, named 'h',
but what about "z"? I couldn't imagine structure of the data you have.
May be you are talking about applying slicing window of variable size that depends on, e.g., height values?
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020