# Questions tagged [averages]

The tag has no usage guidance.

15 questions
Filter by
Sorted by
Tagged with
100 views

### Average of samples in a period of time

I take samples in an experiment which results low (around 0) and high (around 60) values. In many of the tests, there are more high values at the end of the experiment than at the beginning. The time ...
43 views

### Moving average of events per minute

Suppose I have a list of times corresponding to event onset over the course of about an hour (in my case, skin conductance responses from electrodermal activity measurements). The amplitude of the ...
91 views

### Trying to compute the heat capacity for the 2D-Ising model

I'm trying compute the heat capacity $C_v$ out of my simulation for the 2D-Ising model which is given by $C_v = \frac{\langle E^2 \rangle - \langle E \rangle^2}{T^2N^2}$ ($E$: Energy, $T$: ...
253 views

### Take single element of a list, and compare to average of whole list

If I have a list lst = {1, 2, 3, 4, 5}; Is there some way of taking the first element and then comparing it to the average of the other 4? Then to take element 2 ...
49 views

### Define a variable whose value for each i in [|1,n|] depends on the average value it takes for j different from i [closed]

I would like to define the following variable : So the average value (a) takes for every "individual" but i. But actually, for each i, the value (a) takes depends on the preceding average: ...
45 views

### I want to perform mean of a set of data after importing these data from computer in mathematica. But unable. pls help

I have used the following code in mathematica to perform mean to set of data. ...
91 views

### Chord averaging of scattering experiment on a cylinder

In a scattering experiment in transmission, a cylinder is scanned from side to side (x position from -R to +R). Therefore, chords of length 2*Sqrt(R^2-x^2) are intersected. The property of interest ...
54 views

### Separating Means/Averages In Large Expressions

I have very large analytical expressions that are averaged "Mean[...]" and I would like to simpify as much as possible. The issue is that although Mathematica recognizes the commutative property: <...
149 views

### Can't define average for my matrix

I have a list defined as MarsDisk which, in MatrixForm, has 17 rows and 3 columns, which hold information about a photon energy ...
3k views

### Average function value over an Interval [closed]

What is the best way to find the average value of a function over a specific interval in Mathematica? I can not figure it out. I have two points on the interval and need to find the average value.
612 views

### Help finding the point(s) inside “non-star” closed shape with the highest average ray length?

I am trying to find the point(s) with the highest average ray length at any given point in a closed curve defined as an implicit function, (ex. $x^2+y^2+\sin(4x)+\sin(4y)=4$). I have some idea of ...
852 views

### MovingAverage to include the average of the first and last elements in a list

Is there any way to take the average of pairwise elements in a list? Example: Given the list list = {a,b,c} I'd like to generate the list ...
112 views

### Efficient subsetting and averaging

The following code aims to average 4 groups of the values vector. Which elements belong to each group is determined by the indic ...