Skip to content

Commit

Permalink
Update src/estimation.jl
Browse files Browse the repository at this point in the history
Co-authored-by: wheeheee <[email protected]>
  • Loading branch information
kcin96 and wheeheee authored Apr 7, 2024
1 parent 669e6a7 commit c70438d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/estimation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ julia> x += noise; # add noise to signal x
```
Run the ESPRIT algorithm to retrieve approximate frequencies.
```@example
julia> M = 5; #window length of 5
julia> p = 2; #2 frequencies to estimate
julia> M = 5; # window length of 5
julia> p = 2; # 2 frequencies to estimate
julia> esprit(x, M, p, Fs)
2-element Vector{Float64}:
2502.2704154274957
Expand Down

0 comments on commit c70438d

Please sign in to comment.