⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mmat_13.cc

📁 这是一个从音频信号里提取特征参量的程序
💻 CC
📖 第 1 页 / 共 5 页
字号:
  {0, 1, 0, 0},  // M: row position of min, column position of min, min  //  {1, 0, 0, 0},  // N: row position of min, column position of min, min  //  {3, 0, 1, 2},  // O: row position of min, column position of min, min  //  {1, 1, 2, 3},  // P: row position of min, column position of min, min  //  {1, 0, 1, 2}};// the maximum values (and locations)//double MMAT_MAX_RES [MMAT_NUM_MATS_TOTAL] [4] = {  // A: row position of max, column position of max, max  //  {2, 0, 8, 0},  // B: row position of max, column position of max, max  //  {0, 0, 5, 0},  // C: row position of max, column position of max, max  //  {2, 2, 8, 0},  // D: row position of max, column position of max, max  //  {2, 1, 6, 0},  // E: row position of max, column position of max, max  //  {1, 2, 6, 0},  // F: row position of max, column position of max, max  //  {3, 2, 24, 0},  // G: row position of max, column position of max, max  //  {2, 1, 9, 0},  // H: row position of max, column position of max, max  //  {1, 2, 9, 0},  // I: row position of max, column position of max, max  //  {0, 1, 9, 5},  // J: row position of max, column position of max, max  //  {0, 0, 9, 3},  // K: row position of max, column position of max, max  //  {2, 3, 9, 6},  // L: row position of max, column position of max, max  //  {1, 0, 4, 9},  // M: row position of max, column position of max, max  //  {0, 1, 9, 7},  // N: row position of max, column position of max, max  //  {1, 3, 9, 8},  // O: row position of max, column position of max, max  //  {0, 0, 7, 8},  // P: row position of max, column position of max, max  //  {0, 0, 8, 6}};// the minimum magnitude values (and locations)//double MMAT_MINMAG_RES [MMAT_NUM_MATS_TOTAL] [4] = {  // A: row position of minMag, column position of minMag, minMag  //  {1, 3, 1, 0},  // B: row position of minMag, column position of minMag, minMag  //  {0, 1, 0, 0},  // C: row position of minMag, column position of minMag, minMag  //  {1, 3, 1, 0},  // D: row position of minMag, column position of minMag, minMag  //  {0, 1, 0, 0},  // E: row position of minMag, column position of minMag, minMag  //  {1, 0, 0, 0},  // F: row position of minMag, column position of minMag, minMag  //  {0, 3, 2, 0},  // G: row position of minMag, column position of minMag, minMag  //  {1, 1, 2, 0},  // H: row position of minMag, column position of minMag, minMag  //  {0, 3, 2, 0},  // I: row position of minMag, column position of minMag, minMag  //  {0, 2, 1.414214, 0},  // J: row position of minMag, column position of minMag, minMag  //  {0, 1, 0, 0},  // K: row position of minMag, column position of minMag, minMag  //  {0, 0, 2.236068, 0},  // L: row position of minMag, column position of minMag, minMag  //  {0, 1, 0, 0},  // M: row position of minMag, column position of minMag, minMag  //  {1, 0, 0, 0},  // N: row position of minMag, column position of minMag, minMag  //  {3, 0, 2.236068, 0},  // O: row position of minMag, column position of minMag, minMag  //  {1, 1, 3.605551, 0},  // P: row position of minMag, column position of minMag, minMag  //  {1, 0, 2.236068, 0}};// the maximum magnitude values (and locations)//double MMAT_MAXMAG_RES [MMAT_NUM_MATS_TOTAL] [4] = {  // A: row position of maxMag, column position of maxMag, maxMag  //  {2, 0, 8, 0},  // B: row position of maxMag, column position of maxMag, maxMag  //  {0, 0, 5, 0},  // C: row position of maxMag, column position of maxMag, maxMag  //  {2, 2, 8, 0},  // D: row position of maxMag, column position of maxMag, maxMag  //  {2, 1, 6, 0},  // E: row position of maxMag, column position of maxMag, maxMag  //  {1, 2, 6, 0},  // F: row position of maxMag, column position of maxMag, maxMag  //  {3, 2, 24, 0},  // G: row position of maxMag, column position of maxMag, maxMag  //  {2, 1, 9, 0},  // H: row position of maxMag, column position of maxMag, maxMag  //  {1, 2, 9, 0},  // I: row position of maxMag, column position of maxMag, maxMag  //  {0, 1, 10.29563, 0},  // J: row position of maxMag, column position of maxMag, maxMag  //  {0, 0, 9.486833, 0},  // K: row position of maxMag, column position of maxMag, maxMag  //  {2, 3, 10.816654, 0},  // L: row position of maxMag, column position of maxMag, maxMag  //  {1, 0, 9.848858, 0},  // M: row position of maxMag, column position of maxMag, maxMag  //  {0, 1, 11.401754, 0},  // N: row position of maxMag, column position of maxMag, maxMag  //  {1, 3, 12.041595, 0},  // O: row position of maxMag, column position of maxMag, maxMag  //  {0, 0, 10.630146, 0},  // P: row position of maxMag, column position of maxMag, maxMag  //  {0, 0, 10, 0}};// the determinants//double MMAT_DET_RES[MMAT_NUM_MATS_TOTAL * MMAT_TWO] = {  // det(A), det(B), det(C), det(D), det(E), det(F)  //  1, 120, 22, 120, 120, 0,  // det(G), det(H) (dummy values)  //  0, 0,  // det(I), det(J), det(K), det(L), det(M), det(N)  //  1, 120, 22, 120, 120, 0,  // det(O), det(P) (dummy values)  //  0, 0,  // imaginary components of det(A), det(B), det(C), det(D), det(E), det(F)  //  0, 0, 0, 0, 0, 0,  // imaginary components of det(G), det(H) (dummy values)  //  0, 0,  // imaginary components of det(I), det(J), det(K), det(L), det(M), det(N)  //  0, 0, 0, 0, 0, 0,  // imaginary components of det(O), det(P) (dummy values)  //  0, 0};// the sums//double MMAT_SUM_RES[MMAT_NUM_MATS_TOTAL * MMAT_TWO] = {  // sum(A), sum(B), sum(C), sum(D), sum(E), sum(F), sum(G), sum(H)  //  65, 14, 62, 38, 38, 145, 35, 35,  // sum(I), sum(J), sum(K), sum(L), sum(M), sum(N), sum(O), sum(P)  //  78, 14, 72, 46, 58, 66, 35, 34,  // imaginary components of  // sum(A), sum(B), sum(C), sum(D), sum(E), sum(F), sum(G), sum(H)  //  0, 0, 0, 0, 0, 0, 0, 0,  // imaginary components of  // sum(I), sum(J), sum(K), sum(L), sum(M), sum(N), sum(O), sum(P)  //  77, 13, 55, 53, 49, 72, 43, 31};// the sumSquare//double MMAT_SUM_SQUARE_RES[MMAT_NUM_MATS_TOTAL * MMAT_TWO] = {  // sumSquare(A), sumSquare(B), sumSquare(C), sumSquare(D),  // sumSquare(E), sumSquare(F), sumSquare(G), sumSquare(H),  //  333, 54, 304, 164, 164, 1875, 197, 197,  // sumSquare(I), sumSquare(J), sumSquare(K), sumSquare(L),  // sumSquare(M), sumSquare(N), sumSquare(O), sumSquare(P)  //  67, 51, 189, -81, 139, -46, -56, 49,  // imaginary components of  // sumSquare(A), sumSquare(B), sumSquare(C), sumSquare(D),  // sumSquare(E), sumSquare(F), sumSquare(G), sumSquare(H),  //  0, 0, 0, 0, 0, 0, 0, 0,  // imaginary components of  // sumSquare(I), sumSquare(J), sumSquare(K), sumSquare(L),  // sumSquare(M), sumSquare(N), sumSquare(O), sumSquare(P)  //  762, 80, 532, 412, 636, 612, 376, 322};// the mean//double MMAT_MEAN_RES[MMAT_NUM_MATS_TOTAL * MMAT_TWO] = {  // mean(A), mean(B), mean(C), mean(D), mean(E), mean(F), mean(G), mean(H)  //  4.0625, 0.8750, 3.8750, 2.3750, 2.375, 9.0625, 4.3750, 4.3750,  // mean(I), mean(J), mean(K), mean(L), mean(M), mean(N), mean(O), mean(P)  //  4.875, 0.8750, 4.5, 2.875, 3.625, 4.125, 4.375, 4.25,  // imaginary components of  // mean(A), mean(B), mean(C), mean(D), mean(E), mean(F), mean(G), mean(H)  //  0, 0, 0, 0, 0, 0, 0, 0,  // imaginary components of  // mean(I), mean(J), mean(K), mean(L), mean(M), mean(N), mean(O), mean(P)  //  4.8125, 0.8125, 3.4375, 3.3125, 3.0625, 4.5, 5.375, 3.875};// the rms//double MMAT_RMS_RES[MMAT_NUM_MATS_TOTAL * MMAT_TWO] = {  // rms(A), rms(B), rms(C), rms(D), rms(E), rms(F), rms(G), rms(H)  //  2.075715238, 1.615355998, 1.996089928, 2.146945505, 2.146945505, 5.9210297879676306, 2.341874249, 2.341874249,  // rms(I), rms(J), rms(K), rms(L), rms(M), rms(N), rms(O), rms(P)  //  2.075715238, 1.615355998, 1.996089928, 2.146945505, 2.146945505, 5.9210297879676306, 2.341874249, 2.341874249,  // imaginary components of  // rms(A), rms(B), rms(C), rms(D), rms(E), rms(F), rms(G), rms(H)  //  0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,  // imaginary components of  // rms(I), rms(J), rms(K), rms(L), rms(M), rms(N), rms(O), rms(P)  //  2.075715238, 1.615355998, 1.996089928, 2.146945505, 2.146945505, 5.9210297879676306, 2.341874249, 2.341874249};// the var//double MMAT_VAR_RES[MMAT_NUM_MATS_TOTAL * MMAT_TWO] = {  // var(A), var(B), var(C), var(D), var(E), var(F), var(G), var(H)  //  4.308593750, 2.609375000, 3.984375000, 4.609375000, 4.609375000, 35.05859375, 5.484375000, 5.484375000,  // var(I), var(J), var(K), var(L), var(M), var(N), var(O), var(P)  //  4.308593750, 2.609375000, 3.984375000, 4.609375000, 4.609375000, 35.05859375, 5.484375000, 5.484375000,  // imaginary components of  // var(A), var(B), var(C), var(D), var(E), var(F), var(G), var(H)  //  0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,  // imaginary components of  // var(I), var(J), var(K), var(L), var(M), var(N), var(O), var(P)  //  4.308593750, 2.609375000, 3.984375000, 4.609375000, 4.609375000, 35.05859375, 5.484375000, 5.484375000};// the trace//double MMAT_TRACE_RES[MMAT_NUM_MATS_TOTAL * MMAT_TWO] = {  // trace(A), trace(B), trace(C), trace(D), trace(E), trace(F),  // trace(G), trace(H),  //  11, 14, 24, 14, 14, 37, false, false,  // trace(I), trace(J), trace(K), trace(L), trace(M), trace(N),  // trace(O), trace(P)  //  18, 14, 20, 20, 23, 19, false, false,  // imaginary components of  // trace(A), trace(B), trace(C), trace(D), trace(E), trace(F)  // trace(G), trace(H)  //  0, 0, 0, 0, 0, 0, false, false,  // imaginary components of  // trace(I), trace(J), trace(K), trace(L), trace(M), trace(N),  // trace(O), trace(P)  //  25, 13, 13, 12, 13, 10, false, false};// sum by column//double MMAT_SUM_COLUMN_RES [MMAT_NUM_MATS_TOTAL] [MMAT_NUM_COLS * MMAT_TWO] = {  // sum along matrix A: col 0, 1, 2, 3  //  { 18, 18, 21, 8, 0, 0, 0, 0 },  // sum along matrix B: col 0, 1, 2, 3  //  { 5, 2, 3, 4, 0, 0, 0, 0 },  // sum along matrix C: col 0, 1, 2, 3  //  { 14, 16, 20, 12, 0, 0, 0, 0 },  // sum along matrix D: col 0, 1, 2, 3  //  { 14, 14, 6, 4, 0, 0, 0, 0  },  // sum along matrix E: col 0, 1, 2, 3  //  { 5, 4, 12, 17, 0, 0, 0, 0  },  // sum along matrix F: col 0, 1, 2, 3  //  { 32, 37, 44, 32, 0, 0, 0, 0  },  // sum along matrix G: col 0, 1, 2, 3 (two dummy values)  //  { 16, 19, 0, 0, 0, 0, 0, 0  },  // sum along matrix H: col 0, 1, 2, 3  //  { 9, 9, 12, 5, 0, 0, 0, 0  },  // sum along matrix I: col 0, 1, 2, 3  //  { 17, 26, 25, 10, 19, 25, 12, 21 },  // sum along matrix J: col 0, 1, 2, 3  //  { 9, 4, 1, 0, 3, 2, 5, 3 },  // sum along matrix K: col 0, 1, 2, 3  //  { 13, 18, 19, 22, 11, 15, 18, 11 },  // sum along matrix L: col 0, 1, 2, 3  //  { 16, 10, 12, 8, 29, 19, 4, 1  },  // sum along matrix M: col 0, 1, 2, 3  //  { 8, 18, 6, 26, 3, 13, 11, 22  },  // sum along matrix N: col 0, 1, 2, 3  //  { 7, 23, 15, 21, 20, 13, 15, 24  },  // sum along matrix O: col 0, 1, 2, 3 (two dummy values)  //  { 21, 14, 0, 0, 22, 21, 0, 0  },  // sum along matrix P: col 0, 1, 2, 3  //  { 9, 10, 4, 11, 8, 10, 7, 6  }};// sum by row//double MMAT_SUM_ROW_RES [MMAT_NUM_MATS_TOTAL] [MMAT_NUM_ROWS * MMAT_TWO] = {  // sum along matrix A: row 0, 1, 2, 3  //  { 16, 15, 16, 18, 0, 0, 0, 0 },  // sum along matrix B: row 0, 1, 2, 3  //  { 5, 2, 3, 4, 0, 0, 0, 0 },  // sum along matrix C: row 0, 1, 2, 3  //  { 14, 16, 20, 12, 0, 0, 0, 0 },  // sum along matrix D: row 0, 1, 2, 3  //  { 5, 4, 12, 17, 0, 0, 0, 0 },  // sum along matrix E: col 0, 1, 2, 3  //  { 14, 14, 6, 4, 0, 0, 0, 0 },  // sum along matrix F: row 0, 1, 2, 3  //  { 12, 26, 36, 71, 0, 0, 0, 0 },  // sum along matrix G: row 0, 1, 2, 3  //  { 9, 9, 12, 5, 0, 0, 0, 0 },  // sum along matrix H: row 0, 1, 2, 3 (two dummy values)  //  { 16, 19, 0, 0, 0, 0, 0, 0 },  // sum along matrix I: row 0, 1, 2, 3  //  { 16, 17, 24, 21, 16, 24, 19, 18 },  // sum along matrix J: row 0, 1, 2, 3  //  { 9, 4, 1, 0, 3, 2, 5, 3 },  // sum along matrix K: row 0, 1, 2, 3  //  { 13, 18, 19, 22, 11, 15, 18, 11 },  // sum along matrix L: row 0, 1, 2, 3  //  { 2, 5, 22, 17, 6, 13, 13, 21 },

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -