Skip to content

Commit 66ec51e

Browse files
committed
remove broadcasting in docstring
1 parent cc8fe85 commit 66ec51e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/definitions.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,8 @@ input signal, which is the reciprocal of the sample spacing.
425425
Given a window of length `n` and a sampling rate `fs`, the frequencies returned are
426426
427427
```julia
428-
[0:n÷2-1; -n÷2:-1] .* fs/n # if n is even
429-
[0:(n-1)÷2; -(n-1)÷2:-1] .* fs/n # if n is odd
428+
[0:n÷2-1; -n÷2:-1] * fs/n # if n is even
429+
[0:(n-1)÷2; -(n-1)÷2:-1] * fs/n # if n is odd
430430
```
431431
432432
# Examples
@@ -460,8 +460,8 @@ is the sampling rate of the input signal, which is the reciprocal of the sample
460460
Given a window of length `n` and a sampling rate `fs`, the frequencies returned are
461461
462462
```julia
463-
[0:n÷2;] .* fs/n # if n is even
464-
[0:(n-1)÷2;] .* fs/n # if n is odd
463+
[0:n÷2;] * fs/n # if n is even
464+
[0:(n-1)÷2;] * fs/n # if n is odd
465465
```
466466
467467
!!! note

0 commit comments

Comments
 (0)