Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e96ae67a authored by hhakim's avatar hhakim
Browse files

Refactor the bitrev_perm matfaust function to its own file in tools.

parent 28e49ca1
Branches
Tags 3.37.8
No related merge requests found
......@@ -62,12 +62,6 @@ function D = dst(n, varargin)
D = real(F);
end
function P = bitrev_perm(N)
index = 1:N;
new_index = BitReversalPermutation(index);
P = sparse(index, new_index, ones(1, N), N, N);
end
function O = omega(N)
%% List of n-th root of unit raised to the power of -(k+1) (instead of k as
%in FFT, the purpose is to write the DST).
......
function P = bitrev_perm(N)
index = 1:N;
new_index = BitReversalPermutation(index);
P = sparse(index, new_index, ones(1, N), N, N);
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment