- 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
+30
View File
@@ -0,0 +1,30 @@
function [ref_c ref_p ref_a] = getRefFreq(drmMode)
switch drmMode
case 'A'
ref_c = [18 54 72];
ref_p = [205 836 215];
ref_a = sqrt(2)*ones(1,3);
case 'B'
ref_c = [16 48 64];
ref_p = [331 651 555];
ref_a = sqrt(2)*ones(1,3);
case 'C'
ref_c = [11 33 44];
ref_p = [214 392 242];
ref_a = sqrt(2)*ones(1,3);
case 'D'
ref_c = [ 7 21 28];
ref_p = [788 1014 332];
ref_a = sqrt(2)*ones(1,3);
case 'E'
ref_c = [];
ref_p = [];
ref_a = [];
error ('Implement Mode E!');
end;