]> git.parisson.com Git - cnaq.git/commitdiff
Add some tools
authoryomguy <yomguy@5fc3e0e6-29bc-4d03-b52b-c088cb822bde>
Mon, 7 Apr 2008 15:00:27 +0000 (15:00 +0000)
committeryomguy <yomguy@5fc3e0e6-29bc-4d03-b52b-c088cb822bde>
Mon, 7 Apr 2008 15:00:27 +0000 (15:00 +0000)
git-svn-id: http://svn.parisson.org/svn/CNAQ/trunk@171 5fc3e0e6-29bc-4d03-b52b-c088cb822bde

tools/set_fs.m [deleted file]
tools/set_nbits.m [deleted file]

diff --git a/tools/set_fs.m b/tools/set_fs.m
deleted file mode 100644 (file)
index fde87c1..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-function fs_ind = set_fs(f_s)
-% Return the id of the item in the sampling frequency list
-
-    if f_s == 44100
-        fs_ind = 1;
-    elseif f_s == 48000
-        fs_ind = 2;
-    elseif f_s == 88200
-        fs_ind = 3;
-    elseif f_s == 96000
-        fs_ind = 4;
-    elseif f_s == 192000
-        fs_ind = 5;
-    end
-
-end
\ No newline at end of file
diff --git a/tools/set_nbits.m b/tools/set_nbits.m
deleted file mode 100644 (file)
index e855dff..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-function nb_ind = get_nbits_id(nbits)
-
-    if nbits == 16
-        nb_ind = 1;
-    elseif nbits == 24
-        nb_ind = 2;
-    end
-
-end
\ No newline at end of file