-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhamming.c
5 lines (5 loc) · 4.08 KB
/
hamming.c
1
2
3
4
5
//
// Created by IRON on 2021/4/11.
//
#include "hamming.h"
const float win[]={0.08,0.080035,0.080139,0.080313,0.080556,0.080869,0.081251,0.081703,0.082224,0.082814,0.083473,0.084201,0.084998,0.085864,0.086799,0.087802,0.088873,0.090013,0.091221,0.092496,0.093839,0.09525,0.096728,0.098273,0.099884,0.10156,0.10331,0.10512,0.10699,0.10894,0.11094,0.11301,0.11515,0.11735,0.11962,0.12194,0.12434,0.12679,0.12931,0.13188,0.13452,0.13723,0.13999,0.14281,0.14569,0.14864,0.15164,0.1547,0.15782,0.161,0.16423,0.16752,0.17087,0.17427,0.17773,0.18124,0.18481,0.18843,0.1921,0.19583,0.19961,0.20344,0.20732,0.21125,0.21523,0.21926,0.22334,0.22747,0.23164,0.23586,0.24013,0.24444,0.24879,0.25319,0.25764,0.26212,0.26665,0.27122,0.27583,0.28048,0.28517,0.2899,0.29467,0.29947,0.30431,0.30918,0.31409,0.31904,0.32402,0.32903,0.33407,0.33914,0.34424,0.34938,0.35454,0.35973,0.36495,0.37019,0.37546,0.38075,0.38607,0.39141,0.39678,0.40216,0.40757,0.413,0.41844,0.42391,0.42939,0.43489,0.4404,0.44593,0.45147,0.45703,0.4626,0.46818,0.47377,0.47937,0.48499,0.4906,0.49623,0.50187,0.5075,0.51315,0.5188,0.52445,0.5301,0.53576,0.54141,0.54707,0.55272,0.55838,0.56403,0.56967,0.57532,0.58095,0.58658,0.59221,0.59782,0.60343,0.60903,0.61461,0.62019,0.62575,0.6313,0.63684,0.64236,0.64787,0.65336,0.65883,0.66428,0.66972,0.67514,0.68053,0.68591,0.69126,0.69659,0.7019,0.70718,0.71244,0.71767,0.72287,0.72805,0.73319,0.73831,0.7434,0.74846,0.75348,0.75848,0.76344,0.76837,0.77326,0.77812,0.78294,0.78772,0.79247,0.79718,0.80185,0.80648,0.81107,0.81562,0.82012,0.82459,0.82901,0.83339,0.83772,0.84201,0.84626,0.85045,0.8546,0.85871,0.86276,0.86677,0.87072,0.87463,0.87848,0.88229,0.88604,0.88974,0.89339,0.89698,0.90052,0.90401,0.90744,0.91081,0.91413,0.91739,0.9206,0.92375,0.92684,0.92987,0.93284,0.93575,0.93861,0.9414,0.94413,0.9468,0.94941,0.95196,0.95445,0.95687,0.95923,0.96152,0.96376,0.96593,0.96803,0.97007,0.97204,0.97395,0.9758,0.97757,0.97928,0.98093,0.98251,0.98402,0.98546,0.98684,0.98815,0.98939,0.99057,0.99167,0.99271,0.99368,0.99458,0.99541,0.99617,0.99687,0.99749,0.99805,0.99853,0.99895,0.9993,0.99957,0.99978,0.99992,0.99999,0.99999,0.99992,0.99978,0.99957,0.9993,0.99895,0.99853,0.99805,0.99749,0.99687,0.99617,0.99541,0.99458,0.99368,0.99271,0.99167,0.99057,0.98939,0.98815,0.98684,0.98546,0.98402,0.98251,0.98093,0.97928,0.97757,0.9758,0.97395,0.97204,0.97007,0.96803,0.96593,0.96376,0.96152,0.95923,0.95687,0.95445,0.95196,0.94941,0.9468,0.94413,0.9414,0.93861,0.93575,0.93284,0.92987,0.92684,0.92375,0.9206,0.91739,0.91413,0.91081,0.90744,0.90401,0.90052,0.89698,0.89339,0.88974,0.88604,0.88229,0.87848,0.87463,0.87072,0.86677,0.86276,0.85871,0.8546,0.85045,0.84626,0.84201,0.83772,0.83339,0.82901,0.82459,0.82012,0.81562,0.81107,0.80648,0.80185,0.79718,0.79247,0.78772,0.78294,0.77812,0.77326,0.76837,0.76344,0.75848,0.75348,0.74846,0.7434,0.73831,0.73319,0.72805,0.72287,0.71767,0.71244,0.70718,0.7019,0.69659,0.69126,0.68591,0.68053,0.67514,0.66972,0.66428,0.65883,0.65336,0.64787,0.64236,0.63684,0.6313,0.62575,0.62019,0.61461,0.60903,0.60343,0.59782,0.59221,0.58658,0.58095,0.57532,0.56967,0.56403,0.55838,0.55272,0.54707,0.54141,0.53576,0.5301,0.52445,0.5188,0.51315,0.5075,0.50187,0.49623,0.4906,0.48499,0.47937,0.47377,0.46818,0.4626,0.45703,0.45147,0.44593,0.4404,0.43489,0.42939,0.42391,0.41844,0.413,0.40757,0.40216,0.39678,0.39141,0.38607,0.38075,0.37546,0.37019,0.36495,0.35973,0.35454,0.34938,0.34424,0.33914,0.33407,0.32903,0.32402,0.31904,0.31409,0.30918,0.30431,0.29947,0.29467,0.2899,0.28517,0.28048,0.27583,0.27122,0.26665,0.26212,0.25764,0.25319,0.24879,0.24444,0.24013,0.23586,0.23164,0.22747,0.22334,0.21926,0.21523,0.21125,0.20732,0.20344,0.19961,0.19583,0.1921,0.18843,0.18481,0.18124,0.17773,0.17427,0.17087,0.16752,0.16423,0.161,0.15782,0.1547,0.15164,0.14864,0.14569,0.14281,0.13999,0.13723,0.13452,0.13188,0.12931,0.12679,0.12434,0.12194,0.11962,0.11735,0.11515,0.11301,0.11094,0.10894,0.10699,0.10512,0.10331,0.10156,0.099884,0.098273,0.096728,0.09525,0.093839,0.092496,0.091221,0.090013,0.088873,0.087802,0.086799,0.085864,0.084998,0.084201,0.083473,0.082814,0.082224,0.081703,0.081251,0.080869,0.080556,0.080313,0.080139,0.080035,0.08};