It’s often useful to be able to play around with things to get a feel for how they work. One of these is 1/f noise. There’s a very simple algorithm for generating this type of noise.
We set up n storage locations. To start a random value (-1 to 1) is stored in each location, Then every 2nd step, the first one changes to a new random value (-1 to +1), every 4th step the second changes, every 8th step the third, every 16th the fourth, etc. until the last one change in the middle of the run.
If we then set it so that at each step only one storage location is changing, then if we sum all the locations we have a random value that changes only by a random value between (-1 to +1) at each step.
For the equivalent of 10 years of daily readings we need ~4000 steps and when graphed for a scale of years we should have something like this:
I’ve included a openoffice calc file and xls
Categories
Archives
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- August 2023
- June 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- May 2021
- April 2021
- March 2021
- January 2021
- December 2020
- November 2020
- October 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- August 2018
- July 2018
- June 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- May 2013
- March 2013
- February 2013
- January 2013
- December 2012
- September 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
-
Recent Posts
Recent Comments
- Ben Vorlich on Preparing for a nuclear war – government will not help
- Preparing for Nuclear war – issues of inside shelters | Scottish Sceptic on Preparing for Nuclear war – the 15minute shelter
- Pict1 on Preparing for Nuclear War II
- Ben Vorlich on Preparing for Nuclear War II
- Preparing for Nuclear war III | Scottish Sceptic on Preparing for Nuclear – Revised Scenario
Archives
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- August 2023
- June 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- May 2021
- April 2021
- March 2021
- January 2021
- December 2020
- November 2020
- October 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- August 2018
- July 2018
- June 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- May 2013
- March 2013
- February 2013
- January 2013
- December 2012
- September 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
Categories
- #GE2019
- 1/f
- Academia
- ADE
- Advanced Greenhouse Theory
- bbc
- Caterpillar
- Climate
- Cllimate Cult
- computing
- Coronavirus
- Covid
- Economics
- Enerconics
- Energy
- Environment
- Fails
- FGill
- Funding Imbalance
- General
- Geology
- Goat Toads
- greenblob
- History
- Humour
- Ice age
- internet Revolution
- Kyoto
- Light
- Media
- media
- My Best Articles
- Politics
- Proposals
- Sceptics
- science
- Scotland
- SO2
- Solar
- Survey
- transport
- UK
- Ukraine
- Uncategorized
- Wind
Meta
After reviewing your xls programming it seems that 1/f noise is n-pieces of data where exactly one them is allowed to vary by some amount, but from a specific spectrum.
I am not sure but it would be interesting how similar n columns with exactly one varying but not from a specific spectrum would look similar or not.
That’s an interesting question. The high frequencies are dominated by the step change – and that would be similar irrespective of which column changed. But what would change is that pulses of low frequency won’t be around for as long as they are now (longer or shorter). I have a suspicion it would be much the same, but I would need to prove it.
I’ve been attempting to create an 1/f^n noise generator using a similar pattern to the above. The difference is that whereas the above can only vary by a maximum of 2 (from -1 to +1), with any other pattern, there can be several locations changing at any one time leading to up to 2n change at each step.
As far as I can tell the general pattern is similar, but there’s now a much greater probability of a large step. This is different, but it may not be “wrong” as there’s no clear understanding of what 1/f^n noise is, so there’s no clear understanding of whether a particular noise generator is “ideal” 1/f^n noise.
I think the same would apply to your suggestion. It may have different behaviour but still give a 1/f noise spectrum.
I ran several hundred and then compared them, they look very similar but as you said it appears that the ranges and shifts are larger, while your code also seems to allow longer runs of gentler increases.
Fun to see this though.