Skip to main content
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
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
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.5k
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.5k
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

Only top scored, non community-wiki answers of a minimum length are eligible