Matlab code to accompany "Least squares as random walks: The general case of arbitrary spacing"

Published: 20 February 2026| Version 1 | DOI: 10.17632/494c7cdtky.1
Contributors:
Daniel Kestner,

Description

The Matlab scripts used to generate Figures 1, 2, and 4 of "Least squares as random walks: The general case of arbitrary spacing", Physics Open 2026, https://doi.org/10.1016/j.physo.2026.100378.

Files

Steps to reproduce

Scripts were written and run on Matlab version 2023a. For Figure4.m, a cosmic ray data file, "dataSummarySD1500.csv" from the Pierre Auger collaboration is necessary to download to the same location as Figure4.m. This can be downloaded from https://zenodo.org/records/10488964 or https://opendata.auger.org/. Figure 4 in the article was generated with Auger data version 3.

Institutions

Categories

Software

Licence