- moved DRM stuff into DRM

git-svn-id: http://moon:8086/svn/matlab/trunk@32 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
2015-04-19 18:46:10 +00:00
parent ca31e66851
commit 626f3141cb
5 changed files with 232 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
function index = c2i(N, carriers)
ri = [];
ri = [ri find(carriers == 0)];
carriers(ri) = [];
index = mod(carriers, N) + 1;