I was looking to get the envelope of a signal and looking at the example at Discrete-time analytic signal using Hilbert transform - MATLAB hilbert and checking this in octave using the signal package from forge I am getting different results from Matlab/Octave to Julia.
Ex (Matlab):
xr = [1 2 3 4];
x = hilbert(xr)
x = 1×4 complex
1.0000 + 1.0000i 2.0000 - 1.0000i 3.0000 - 1.0000i 4.0000 + 1.0000i
Ex (Julia):
julia> xr = [1 2 3 4];
julia> x = Util.hilbert(xr)
1×4 Array{Complex{Float64},2}:
1.0+0.0im 2.0+0.0im 3.0+0.0im 4.0+0.0im
Any guessing to whats going on? I was using DSP.jl before the 1.0v release of Julia and it was fine.