How to create a `range` centered around zero?

In MATLAB people do this:

x = [-1*fliplr(dx:dx:max), 0:dx:max];

Which I could do in Julia.e.g.
mysymrange(max, dx) = vcat(range(0,-max,step=-dx) |> reverse, range(0, max, step=dx))

… and get over with, but I would like to have a range :slight_smile:

julia> mysymrange(1.1, 0.2)
12-element Vector{Float64}:
-1.0
-0.8
-0.6
-0.4
-0.2
0.0
0.0
0.2
0.4
0.6
0.8
1.0