Hello,
How can I calculate the average for an array. I see that is posible to SUM and PROD but can´t find the AVG, is there any workaround?
Thanks!
Calculate average for an array
Re: Calculate average for an array
See the attached model
Rafael
Rafael
- Attachments
-
- Average of array variable.mdl
- (1.62 KiB) Downloaded 234 times
-
- Super Administrator
- Posts: 4626
- Joined: Wed Mar 05, 2003 3:10 am
Re: Calculate average for an array
It's really easy,
sum ( some value[array!] ) / elmcount(array)
sum ( some value[array!] ) / elmcount(array)
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559