Skip to content

Commit

Permalink
filter is now renamed to filt for signal processing
Browse files Browse the repository at this point in the history
Close #461
  • Loading branch information
ViralBShah committed Feb 26, 2012
1 parent 61db2a4 commit c23353a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions j/signal.j
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function filter(b,a,x)
function filt(b,a,x)
if a[1]==0
error("filter: a[1] must be nonzero")
error("filt: a[1] must be nonzero")
end

sz = max(size(a,1),size(b,1))
Expand Down Expand Up @@ -60,7 +60,7 @@ function deconv{T}(b::Vector{T}, a::Vector{T})
lx = lb-la+1
x = zeros(T, lx)
x[1] = 1
filter(b, a, x)
filt(b, a, x)
end

function conv{T}(u::Vector{T}, v::Vector{T})
Expand Down

0 comments on commit c23353a

Please sign in to comment.