Skip to main content

New answers tagged

6 votes

Fourier series using DFT

As Daniel Lichtblau already mentioned, you must sample over an integre number of periods. Otherwise, the start and end gets distorted. Then you have to remember how the fft coefficients are stored. At ...
Daniel Huber's user avatar
  • 53.7k
0 votes

How can I plot a set of data in which each subset has three elements

An overlaid variant of bmf's solution ...
eldo's user avatar
  • 81.6k
1 vote

What can be improved in the following custom bilinear interpolation?

There are two identical (by timings) codes. The first one is ...
John Taylor's user avatar
  • 5,887
4 votes
Accepted

Histogram from a large dataset

Consider abandoning old-style histograms altogether. If the hourly data is recorded in a relatively continuous manner (i.e., at least to the minute), then a "smooth histogram" (...
JimB's user avatar
  • 42.1k
4 votes

Histogram from a large dataset

You can use CategoricalDistribution to directly work with the data from your example: Generate some fake data: ...
Sjoerd Smit's user avatar
0 votes

Manipulate value of adjacent element on table

list = {{7, 9}, {2, 5}, {3, 7}, {10, 9}}; A variant of ubpdqn's answer using Query ...
eldo's user avatar
  • 81.6k
0 votes

Calculate mean of values in bins

Suppose that the original data {x,y} are real: dataList=Table[{RandomReal[{0., 20.}], RandomReal[{0.8, 1.6}]}, {ii, 1, 10}] Now convert the x-values to bin number,...
macrofish's user avatar
2 votes

High-water marks of a sequence

list = {3, 5, 7, 8, 8, 5, 7, 9, 2, 5}; 1. Using IncreasingFilter by Sander Huisman ...
eldo's user avatar
  • 81.6k
2 votes

Rank Transformation of an Array

data = {2.4, 5, 1, 6, 7, 10, 2}; Using Ranking by Sander Huisman ...
eldo's user avatar
  • 81.6k

Top 50 recent answers are included