Questions tagged [averages]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
128 views

A square board of size n*n [closed]

I would like to Randomly generate n^2 natural numbers in an interval from 1 to n. Then consider placing each number on the cell with the same number (you can imagine the board numbered naturally, row ...
1 vote
1 answer
48 views

Mean of List of Coordinates

Imagine I have the following list l = {{1, 2}, {1, 3}, {2, 4}, {2, 2}, {2, 3}} I want to take the mean only regarding the second element. That is, I want to find ...
  • 4,362
2 votes
1 answer
102 views

Moving average over a dataset

I have this data set in .csv and I imported them to mathematica to analyze them using Import function. Now here I have only shown a part of the dataset just to give an example of how it looks in Excel....
3 votes
2 answers
159 views

How to average elements of a list based in an interval

Suppose I have a list {x,y} like: Dados0 = {{21.554, 10.153}, {21.554, 9.23}, {21.554, 11.076}, {27.7141, 8.6141}, {27.7141, 11.4855}, {50.1348, 12.6982}, {50.1348, 14.2854}, {50.1348, 13.4918}, {62....
0 votes
0 answers
46 views

How to get the average x of a density function?

I have this code: ...
1 vote
1 answer
170 views

Moving average over time on data entering stochastically

The examples for using MovingAverage mostly refer to data evenly spaced in time,such as stock values. In typical physics data, events arrive random in time (e.g. radio active decay events, but also ...
  • 61
2 votes
2 answers
133 views

How to obtain the average amplitude of a signal from a differential equation

If I have the following differential equation ...
  • 537
0 votes
1 answer
113 views

How do we use mathematica to apply my average to this example? [closed]

I have defined a set function and an average. If you need help understanding my definitions, let me know. I will do my best to explain. Question How do I use Mathematica to apply my definition of ...
  • 209
1 vote
1 answer
75 views

How do I get the same results using Mathematica?

According to this answer For each $n\ge 1$ let $l_{n,i}$ and $r_{n,i}$ be the left and the right endpoints of the segment $C_{n,i}$. Since the function $x^2$ increases on $[0,1]$ and $ l_{n,i}\...
  • 209
2 votes
1 answer
77 views

Average behavior of degree distribution plots

I'll show what I'm doing in the moment and after that I'll explain what I'm trying to achieve. I use the following code to generate a large number of Barabási-Albert networks, and after that I plot ...
1 vote
1 answer
269 views

Plotting average of a function

I plotted a function and a certain horizontal line as a benchmark. After time t = 2 my function goes below the line, which is ok. But I need to show when the AVERAGE of this function goes below the ...
2 votes
3 answers
121 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 ...
0 votes
1 answer
122 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 ...
6 votes
4 answers
339 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 ...
  • 2,174
0 votes
0 answers
60 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. ...
  • 309
1 vote
1 answer
108 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 ...
  • 1,109
1 vote
3 answers
5k 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.
6 votes
5 answers
670 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 ...
  • 209