# Julia DynamicalSystems package for calculating Recurrence Matrices

**URL:** <https://discourse.julialang.org/t/julia-dynamicalsystems-package-for-calculating-recurrence-matrices/85964>\
**Category:** Numerics\
**Tags:** package\
**Created:** [August 19, 2022, 3:19am UTC](https://discourse.julialang.org/t/julia-dynamicalsystems-package-for-calculating-recurrence-matrices/85964 "2022-08-19T03:19:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zahra](https://avatars.discourse-cdn.com/v4/letter/z/aeb1de/32.png) [@Zahra](https://discourse.julialang.org/u/Zahra)\
**Post date:** [August 19, 2022, 3:19am UTC](https://discourse.julialang.org/t/julia-dynamicalsystems-package-for-calculating-recurrence-matrices/85964/1 "2022-08-19T03:19:56Z")

</div>

I don’t understand what Julia’s “RecurrenceMatrices” is doing. I give a vector of two float numbers [1.041; 1.066] as the input, and I set “epsilon = 0.01”, and in the output, it says that these two nodes are near. Am I misusing the package, or is there a bug in the package?

ε = 0.01  
x = [1.041; 1.066]  
R = RecurrenceMatrix(x, ε; metric = “euclidean”, fixedrate = true)

---

<div class="post-metadata">

**Author:** ![digital\_carver](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/digital_carver/32/33818_2.png) [@digital\_carver](https://discourse.julialang.org/u/digital_carver)\
**Post date:** [August 22, 2022, 1:23pm UTC](https://discourse.julialang.org/t/julia-dynamicalsystems-package-for-calculating-recurrence-matrices/85964/2 "2022-08-22T13:23:52Z")

</div>

Hi! Welcome to the forum.

Can you mention what result you expect and why? With ` fixedrate = true`, `ε` becomes the fixed recurrence rate rather than the absolute distance threshold. If you wish for `0.01` to be the distance threshold value without any scaling, pass `fixedrate = false` or leave the argument out.
