# Questions tagged [averages]

The tag has no usage guidance.

22 questions
Filter by
Sorted by
Tagged with
82 views

### Calculate the mean value from point inside a 2D contour

I saw a question about creating contour lines over a smoothdensityhistogram plot. It really help me to create this kind of graphs. I want to ask if is possible to extract only the points inside a ...
1 vote
73 views

### Finding Max/Min of interpolated function and average value above/below the x axis

I have the below code used to create an interpolation function that will plot the difference between two interpolated functions (to compare between different periods of time). However, I would like to ...
1 vote
67 views

### How to make lists all the same length by automatically removing every second element?

I have 20 files of matrices which all contain the same kind of data. I can import and take the single column I need out of every file into a list. I need to average each of the 20 file's lists ...
68 views

### How to take an average of certain columns from multiple files?

I have many text files of tables, 300 rows long and 5 columns across. I can import all the files together as they're all named similarly. I would like to average column 2 of every file together, ...
1 vote
136 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
51 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 ...
143 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....
214 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....
46 views

### How to get the average x of a density function?

I have this code: ...
1 vote
225 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 ...
144 views

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

If I have the following differential equation ...
1 vote