{"id":2497,"date":"2019-05-27T02:35:04","date_gmt":"2019-05-27T02:35:04","guid":{"rendered":""},"modified":"2019-05-27T10:35:29","modified_gmt":"2019-05-27T02:35:29","slug":"%e5%8f%af%e7%94%a8%e4%ba%8e%e5%b5%8c%e5%85%a5%e5%bc%8f%e7%b3%bb%e7%bb%9f%e7%9a%84%e5%82%85%e7%ab%8b%e5%8f%b6%e5%8f%98%e6%8d%a2%e7%9a%84c%e8%af%ad%e8%a8%80%e5%ae%9e%e7%8e%b0%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=2497","title":{"rendered":"\u53ef\u7528\u4e8e\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7684\u5085\u7acb\u53f6\u53d8\u6362\u7684C\u8bed\u8a00\u5b9e\u73b0\u65b9\u6cd5"},"content":{"rendered":"
\n
\n

\n\t\t\t\u5085\u7acb\u53f6\u53d8\u6362\u7684\u91cd\u8981\u6027\u4e0d\u7528\u6211\u8bf4\uff0c\u60f3\u5fc5\u5927\u5bb6\u4e5f\u5f88\u6e05\u695a\uff0c\u6709\u4e86\u5085\u7acb\u53f6\u53d8\u6362\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u4ece\u4fe1\u53f7\u7684\u9891\u57df\u7279\u5f81\u53bb\u5206\u6790\u4fe1\u53f7\u3002\u5c24\u5176\u5728\u65e0\u7ebf\u901a\u4fe1<\/u>\u7cfb\u7edf\u4e2d\uff0c\u5085\u91cc\u53f6\u53d8\u6362\u7684\u91cd\u8981\u6027\u5c31\u66f4\u52a0\u660e\u663e\u4e86\uff0c\u65e0\u8bba\u662f\u8bbe\u8ba1\u8005\u8fd8\u662f\u6d4b\u8bd5<\/u>\u5de5\u7a0b\u5e08\uff0c\u5728\u5de5\u4f5c\u4e2d\u90fd\u4f1a\u548c\u5085\u7acb\u53f6\u53d8\u6362\u6253\u4ea4\u9053\u3002\u5728\u4ee5\u4e0b\u7684\u6587\u7ae0\u4e2d\uff0c\u6211\u7ed9\u51fa\u4e00\u79cd\u5085\u91cc\u53f6\u53d8\u6362\u7684C\u8bed\u8a00\u5b9e\u73b0\u65b9\u6cd5\uff08\u53c2\u8003\u4e86C\u5e38\u7528\u7b97\u6cd5\u96c6\uff09\uff0c\u53ef\u4ee5\u7528\u4e8e\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4e2d\u5b9e\u73b0\u5085\u7acb\u53f6\u53d8\u6362\u3002<\/p>\n

\n\t\t\t\"\u53ef\u7528\u4e8e\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7684\u5085\u7acb\u53f6\u53d8\u6362\u7684C\u8bed\u8a00\u5b9e\u73b0\u65b9\u6cd5\"<\/p>\n

\n\t\t\t <\/div>\n

\n\t\t\t\u5e38\u89c4\u7684\u5085\u7acb\u53f6\u53d8\u6362\u7b97\u6cd5\u5e76\u4e0d\u9002\u7528\u4e8e\u5d4c\u5165\u5f0f\u63a7\u5236\u7cfb\u7edf\uff0c\u539f\u56e0\u662f\u8fd0\u7b97\u91cf\u592a\u5927\uff08\u6d89\u53ca\u5230\u590d\u6570\u8fd0\u7b97\uff09\uff0c\u6bd4\u5982\u79bb\u6563\u7684\u5085\u7acb\u53f6\u53d8\u6362\u7b49\u540c\u4e8e\u7528\u5e8f\u5217Y(n×1\u5217\u77e2\u91cf)\u4e58\u4ee5n×n \u77e9\u9635Fn\uff0c\u9700\u8981n×n\u6b21\u4e58\u6cd5\u3002\u82e5n=1024,\u5219\u662f104\uff0c8576\u6b21\u4e58\u6cd5\u8fd0\u7b97\u3002\u54c7\uff0c\u8fd9\u4e48\u591a\u5440\uff01\u4ec0\u4e48\u6982\u5ff5\u5462\uff1f\u5982\u679c\u4f60\u9009\u7528\u7684CPU<\/u>\u5355\u5468\u671f\u6307\u4ee4\u4e3a25ns, \u5355\u5468\u671f\u4e5f\u53ef\u4ee5\u5b8c\u6210\u4e00\u6b21\u4e58\u6cd5\u8fd0\u7b97\uff0c\u90a3\u4e48\u8981\u8ba1\u7b971024\u70b9\u7684\u5085\u7acb\u53f6\u53d8\u6362\u5219\u9700\u898126.2144ms,\u8fd9\u8fd8\u4e0d\u5305\u62ec\u52a0\u6cd5\u6216\u5176\u5b83\u8fd0\u7b97\uff0c\u5bf9\u4e8e\u5927\u591a\u6570\u5b9e\u65f6\u7cfb\u7edf\uff0c\u8fd9\u4e2a\u5904\u7406\u65f6\u95f4\u5b9e\u5728\u592a\u957f\u3002\u4e8e\u662f\u5bfb\u627e\u4e00\u4e2a\u5feb\u901f\u7684\u5085\u7acb\u53f6\u53d8\u6362\u7b97\u6cd5\u662f\u4eba\u4eec\u6240\u671f\u671b\u7684\u3002<\/p>\n

\n\t\t\t\u672c\u6765\u6211\u60f3\u628aFFT<\/u>\u7684\u6574\u4e2a\u6570\u5b66\u63a8\u5bfc\u8fc7\u7a0b\u5217\u5b8c\u51fa\u6765\uff0c\u4f46\u5f53\u81ea\u5df1\u786c\u7740\u5934\u76ae\u770b\u5b8c\u540e\uff0c\u53d1\u73b0\u5bf9\u6211\u6ca1\u6709\u4efb\u4f55\u7528\u5904\uff0c\u6211\u53c8\u4e0d\u662f\u4e13\u95e8\u7814\u7a76\u6570\u5b66\u7b97\u6cd5\u7684\uff0c\u54ea\u6709\u90a3\u4e48\u591a\u65f6\u95f4\u8ddf\u7740\u4e66\u672c\u7684\u516c\u5f0f\u53bb\u6162\u6162\u63a8\u5bfc\u3002\u6211\u60f3\uff0c\u8fd9\u4e9b\u63a8\u5bfc\u95ee\u9898\u8fd8\u662f\u8ba9\u6570\u5b66\u5bb6\u60f3\u53bb\u5427\u3002\u6211\u9700\u8981\u7684\u4e0d\u8fc7\u662f\u7406\u89e3\u5b83\uff0c\u7136\u540e\u5b66\u4f1a\u5e94\u7528\u5b83\u5c31\u884c\u3002\u6709\u5174\u8da3\u7684\u8bfb\u8005\u53ef\u4ee5\u53c2\u8003\u76f8\u5173\u7684\u8d44\u6599\uff0c\u8fd9\u65b9\u9762\u7684\u8d44\u6599\u5b9e\u5728\u592a\u591a\u4e86\u3002<\/p>\n

\n\t\t\t\u867d\u7136FFT\u5927\u5e45\u5ea6\u5730\u964d\u4f4e\u4e86\u5e38\u89c4\u5085\u7acb\u53f6\u53d8\u6362\u7684\u8fd0\u7b97\u91cf\uff0c\u4f46\u5bf9\u4e8e\u4e00\u822c\u7684\u5355\u7247\u673a<\/u>\u800c\u8a00\uff0c\u5904\u7406FFT\u8fd0\u7b97\u8fd8\u662f\u529b\u4e0d\u4ece\u5fc3\u3002\u4e3b\u8981\u539f\u56e0\u662fFFT\u8ba1\u7b97\u8fc7\u7a0b\u4e2d\u7684\u8776\u5f62\u8fd0\u7b97\u662f\u590d\u6570\u8fd0\u7b97\uff0c\u8981\u5206\u5f00\u5b9e\u90e8\u548c\u865a\u90e8\u5206\u522b\u8ba1\u7b97\uff0c\u60f3\u60f3\u8fd9\u662f\u591a\u4e48\u7e41\u7410\u7684\u4e8b\u60c5\u3002\u53ef\u80fd\u4f1a\u6709\u4e9b\u521d\u5b66\u8005\u8ba4\u4e3a\uff0c\u6709\u8fd9\u4e48\u590d\u6742\u5417\uff1f\u6211\u5728PC\u4e0a\u4f7f\u7528C++<\/u>\u4e00\u6837\u53ef\u4ee5\u5bf9\u590d\u6570\u76f4\u63a5\u8fdb\u884c\u52a0\u3001\u51cf\u3001\u4e58\u3001\u9664\u8fd0\u7b97\u3002\u4f60\u8bf4\u5f97\u4e0d\u9519\uff0c\u53ef\u4ee5\u8fd9\u4e48\u505a\uff0c\u4f46\u90a3\u662fC++\u5c01\u88c5\u4e86\u5bf9\u590d\u6570\u5904\u7406\u7684\u7c7b\uff0c\u76f4\u63a5\u8c03\u7528\u5c31\u884c\u3002\u5728PC\u4e0a\u8fd0\u7b97\u8fd9\u79cd\u7c7b\u578b\u7684\u7b97\u6cd5\u4e00\u822c\u4e0d\u8003\u8651\u65f6\u95f4\u548c\u7a7a\u95f4\uff0c\u591a\u4e00\u4e24\u79d2\u7684\u8fd0\u884c\u65f6\u95f4\u4e0d\u4f1a\u6709\u4ec0\u4e48\u707e\u96be\u6027\u7684\u7ed3\u679c\u3002<\/p>\n

\n\t\t\t\u6240\u4ee5\u6211\u4eec\u8981\u8861\u91cf\u4e00\u4e2a\u5904\u7406\u5668\u6709\u6ca1\u6709\u8db3\u591f\u7684\u80fd\u529b\u6765\u8fd0\u884cFFT\u7b97\u6cd5\uff0c\u6839\u636e\u4ee5\u4e0a\u7684\u7b80\u5355\u4ecb\u7ecd\u53ef\u4ee5\u5f97\u51fa\u4ee5\u4e0b\u4e24\u70b9\uff1a<\/p>\n

\n\t\t\t\u5904\u7406\u5668\u8981\u5728\u4e00\u4e2a\u6307\u4ee4\u5468\u671f\u80fd\u5b8c\u6210\u4e58\u548c\u7d2f\u52a0\u7684\u5de5\u4f5c\uff0c\u56e0\u4e3a\u590d\u6570\u8fd0\u7b97\u8981\u591a\u6b21\u67e5\u8868\u76f8\u4e58\u624d\u80fd\u5b9e\u73b0\u3002<\/p>\n

\n\t\t\t\u95f4\u63a5\u5bfb\u5740\uff0c\u53ef\u4ee5\u5b9e\u73b0\u589e\/\u51cf1\u4e2a\u53d8\u5740\u91cf\uff0c\u65b9\u4fbf\u5404\u79cd\u67e5\u8868\u65b9\u6cd5\u3002FFT\u8981\u5bf9\u539f\u59cb\u5e8f\u5217\u8fdb\u884c\u53cd\u5e8f\u6392\u5217\uff0c\u5904\u7406\u5668\u8981\u6709\u53cd\u5e8f\u95f4\u63a5\u5bfb\u5740\u7684\u80fd\u529b\u3002<\/p>\n

\n\t\t\t\u6240\u4ee5\uff0c\u5728\u6570\u5b57\u4fe1\u53f7\u7684\u5206\u6790\u5904\u7406\u5e94\u7528\u4e2d\uff0cDSP<\/u>\u6bd4\u5176\u5b83\u7684\u5904\u7406\u5668\u6709\u7edd\u5bf9\u7684\u4f18\u52bf\uff0c\u56e0\u4e3aDSP\u5b8c\u5168\u5177\u5907\u4ee5\u4e0a\u6761\u4ef6\u3002\u8fd9\u5c31\u662f\u5355\u7247\u673a\uff0851\u7cfb\u5217\uff0cAVR<\/u>\uff0cPI<\/u>C\u7b49\u7b49\uff09\u6216ARM<\/u>\u5904\u7406\u5668\u5f88\u5c11\u7528\u6765\u8fdb\u884c\u6570\u5b57\u4fe1\u53f7\u5206\u6790\u7684\u539f\u56e0\u3002<\/p>\n

\n\t\t\t\u91cd\u70b9\u6765\u4e86\uff0c\u4e0b\u9762\u7684\u8fd9\u6bb5\u7a0b\u5e8f\u5c31\u662f\u7528C\u8bed\u8a00\u5b9e\u73b0\u5085\u91cc\u53f6\u53d8\u6362<\/p>\n

\n\t\t\t\/\/**********************************************************
\n\t\t\t                        \u3000\u3000\/\/ \u51fd\u6570\u540d: \u5feb\u901f\u5085\u7acb\u53f6\u53d8\u6362\uff08\u6765\u6e90\u300aC\u5e38\u7528\u7b97\u6cd5\u96c6\u300b\uff09
\n\t\t\t                        \u3000\u3000\/\/ \u672c\u51fd\u6570\u6d4b\u8bd5OK,\u53ef\u4ee5\u5728TC2.0,VC++6.0,Keil<\/u> C51\u6d4b\u8bd5\u901a\u8fc7\u3002
\n\t\t\t                        \u3000\u3000\/\/ \u5982\u679c\u4f60\u7684MCS51\u7cfb\u7edf\u6709\u8db3\u591f\u7684RAM<\/u>\u65f6,\u53ef\u4ee5\u9a8c\u8bc1\u4e00\u4e0b\u7528\u5355\u7247\u673a\u5904\u7406FFT\u6709\u591a\u4e48\u7684\u6162\u3002
\n\t\t\t                        \u3000\u3000\/\/
\n\t\t\t                        \u3000\u3000\/\/ \u5165\u53e3\u53c2\u6570\uff1a
\n\t\t\t                        \u3000\u3000\/\/ l: l = 0, \u5085\u7acb\u53f6\u53d8\u6362; l = 1, \u9006\u5085\u7acb\u53f6\u53d8\u6362
\n\t\t\t                        \u3000\u3000\/\/ il: il = 0,\u4e0d\u8ba1\u7b97\u5085\u7acb\u53f6\u53d8\u6362\u6216\u9006\u53d8\u6362\u6a21\u548c\u5e45\u89d2\uff1bil = 1,\u8ba1\u7b97\u6a21\u548c\u5e45\u89d2
\n\t\t\t                        \u3000\u3000\/\/ n: \u8f93\u5165\u7684\u70b9\u6570\uff0c\u4e3a\u5076\u6570\uff0c\u4e00\u822c\u4e3a32\uff0c64\uff0c128\uff0c…,1024\u7b49
\n\t\t\t                        \u3000\u3000\/\/ k: \u6ee1\u8db3n=2^k(k>0),\u5b9e\u8d28\u4e0ak\u662fn\u4e2a\u91c7\u6837\u6570\u636e\u53ef\u4ee5\u5206\u89e3\u4e3a\u5076\u6b21\u5e42\u548c\u5947\u6b21\u5e42\u7684\u6b21\u6570
\n\t\t\t                        \u3000\u3000\/\/ pr[]: l=0\u65f6\uff0c\u5b58\u653eN\u70b9\u91c7\u6837\u6570\u636e\u7684\u5b9e\u90e8
\n\t\t\t                        \u3000\u3000\/\/ l=1\u65f6, \u5b58\u653e\u5085\u7acb\u53f6\u53d8\u6362\u7684N\u4e2a\u5b9e\u90e8
\n\t\t\t                        \u3000\u3000\/\/ pi[]: l=0\u65f6\uff0c\u5b58\u653eN\u70b9\u91c7\u6837\u6570\u636e\u7684\u865a\u90e8
\n\t\t\t                        \u3000\u3000\/\/ l=1\u65f6, \u5b58\u653e\u5085\u7acb\u53f6\u53d8\u6362\u7684N\u4e2a\u865a\u90e8
\n\t\t\t                        \u3000\u3000\/\/
\n\t\t\t                        \u3000\u3000\/\/ \u51fa\u53e3\u53c2\u6570\uff1a
\n\t\t\t                        \u3000\u3000\/\/ fr[]: l=0, \u8fd4\u56de\u5085\u7acb\u53f6\u53d8\u6362\u7684\u5b9e\u90e8
\n\t\t\t                        \u3000\u3000\/\/ l=1, \u8fd4\u56de\u9006\u5085\u7acb\u53f6\u53d8\u6362\u7684\u5b9e\u90e8
\n\t\t\t                        \u3000\u3000\/\/ fi[]: l=0, \u8fd4\u56de\u5085\u7acb\u53f6\u53d8\u6362\u7684\u865a\u90e8
\n\t\t\t                        \u3000\u3000\/\/ l=1, \u8fd4\u56de\u9006\u5085\u7acb\u53f6\u53d8\u6362\u7684\u865a\u90e8
\n\t\t\t                        \u3000\u3000\/\/ pr[]: il = 1,i = 0 \u65f6\uff0c\u8fd4\u56de\u5085\u7acb\u53f6\u53d8\u6362\u7684\u6a21
\n\t\t\t                        \u3000\u3000\/\/ il = 1,i = 1 \u65f6\uff0c\u8fd4\u56de\u9006\u5085\u7acb\u53f6\u53d8\u6362\u7684\u6a21
\n\t\t\t                        \u3000\u3000\/\/ pi[]: il = 1,i = 0 \u65f6\uff0c\u8fd4\u56de\u5085\u7acb\u53f6\u53d8\u6362\u7684\u8f90\u89d2
\n\t\t\t                        \u3000\u3000\/\/ il = 1,i = 1 \u65f6\uff0c\u8fd4\u56de\u9006\u5085\u7acb\u53f6\u53d8\u6362\u7684\u8f90\u89d2
\n\t\t\t                        \u3000\u3000\/\/ data: 2005.8.15,Mend Xin Dong
\n\t\t\t                        \u3000\u3000void kkfft(double pr[], double pi[], int n, int k,
\n\t\t\t                        double fr[], double fi[], int l, int il)
\n\t\t\t                        \u3000\u3000{
\n\t\t\t                        \u3000\u3000 int it,m,is,i,j,nv,l0;
\n\t\t\t                        \u3000\u3000 double p,q,s,vr,vi,poddr,poddi;
\n\t\t\t                       
\n\t\t\t                        \u3000\u3000 for (it=0; it<=n-1; it++)
\n\t\t\t                        \u3000\u3000 {
\n\t\t\t                        \u3000\u3000 m = it;
\n\t\t\t                        \u3000\u3000 is = 0;
\n\t\t\t                        \u3000\u3000 for(i=0; i<=k-1; i++)
\n\t\t\t                        \u3000\u3000 {
\n\t\t\t                        \u3000\u3000 j = m\/2;
\n\t\t\t                        \u3000\u3000 is = 2*is+(m-2*j);
\n\t\t\t                        \u3000\u3000 m = j;
\n\t\t\t                        \u3000\u3000 }
\n\t\t\t                        \u3000\u3000 fr[it] = pr[is];
\n\t\t\t                        \u3000\u3000 fi[it] = pi[is];
\n\t\t\t                        \u3000\u3000 }
\n\t\t\t                        \u3000\u3000\/\/—————————-
\n\t\t\t                        \u3000\u3000 pr[0] = 1.0;
\n\t\t\t                        \u3000\u3000 pi[0] = 0.0;
\n\t\t\t                        \u3000\u3000 p = 6.283185306\/(1.0*n);
\n\t\t\t                        \u3000\u3000 pr[1] = cos(p);
\n\t\t\t                        \u3000\u3000 pi[1] = -sin(p);
\n\t\t\t                       
\n\t\t\t                        \u3000\u3000 if (l!=0)
\n\t\t\t                        \u3000\u3000 pi[1]=-pi[1];
\n\t\t\t                       
\n\t\t\t                        \u3000\u3000 for (i=2; i<=n-1; i++)
\n\t\t\t                        \u3000\u3000 {
\n\t\t\t                        \u3000\u3000 p = pr[i-1]*pr[1];
\n\t\t\t                        \u3000\u3000 q = pi[i-1]*pi[1];
\n\t\t\t                        \u3000\u3000 s = (pr[i-1]+pi[i-1])*(pr[1]+pi[1]);
\n\t\t\t                        \u3000\u3000 pr[i] = p-q;
\n\t\t\t                        \u3000\u3000 pi[i] = s-p-q;
\n\t\t\t                        \u3000\u3000 }
\n\t\t\t                       
\n\t\t\t                        \u3000\u3000 for (it=0; it<=n-2; it=it+2)
\n\t\t\t                        \u3000\u3000 {
\n\t\t\t                        \u3000\u3000 vr = fr[it];
\n\t\t\t                        \u3000\u3000 vi = fi[it];
\n\t\t\t                        \u3000\u3000 fr[it] = vr+fr[it+1];
\n\t\t\t                        \u3000\u3000 fi[it] = vi+fi[it+1];
\n\t\t\t                        \u3000\u3000 fr[it+1] = vr-fr[it+1];
\n\t\t\t                        \u3000\u3000 fi[it+1] = vi-fi[it+1];
\n\t\t\t                        \u3000\u3000 }
\n\t\t\t                        \u3000\u3000 m = n\/2;
\n\t\t\t                        \u3000\u3000 nv = 2;
\n\t\t\t                       
\n\t\t\t                        \u3000\u3000 for (l0=k-2; l0>=0; l0–)
\n\t\t\t                        \u3000\u3000 {
\n\t\t\t                        \u3000\u3000 m = m\/2;
\n\t\t\t                        \u3000\u3000 nv = 2*nv;
\n\t\t\t                        \u3000\u3000 for(it=0; it<=(m-1)*nv; it=it+nv)
\n\t\t\t                        \u3000\u3000 for (j=0; j<=(nv\/2)-1; j++)
\n\t\t\t                        \u3000\u3000 {
\n\t\t\t                        \u3000\u3000 p = pr[m*j]*fr[it+j+nv\/2];
\n\t\t\t                        \u3000\u3000 q = pi[m*j]*fi[it+j+nv\/2];
\n\t\t\t                        \u3000\u3000 s = pr[m*j]+pi[m*j];
\n\t\t\t                        \u3000\u3000 s = s*(fr[it+j+nv\/2]+fi[it+j+nv\/2]);
\n\t\t\t                        \u3000\u3000 poddr = p-q;
\n\t\t\t                        \u3000\u3000 poddi = s-p-q;
\n\t\t\t                        \u3000\u3000 fr[it+j+nv\/2] = fr[it+j]-poddr;
\n\t\t\t                        \u3000\u3000 fi[it+j+nv\/2] = fi[it+j]-poddi;
\n\t\t\t                        \u3000\u3000 fr[it+j] = fr[it+j]+poddr;
\n\t\t\t                        \u3000\u3000 fi[it+j] = fi[it+j]+poddi;
\n\t\t\t                        \u3000\u3000 }
\n\t\t\t                        \u3000\u3000 }
\n\t\t\t                       
\n\t\t\t                        \u3000\u3000 if(l!=0)
\n\t\t\t                        \u3000\u3000 for(i=0; i<=n-1; i++)
\n\t\t\t                        \u3000\u3000 {
\n\t\t\t                        \u3000\u3000 fr[i] = fr[i]\/(1.0*n);
\n\t\t\t                        \u3000\u3000 fi[i] = fi[i]\/(1.0*n);
\n\t\t\t                        \u3000\u3000 }
\n\t\t\t                       
\n\t\t\t                        \u3000\u3000 if(il!=0)
\n\t\t\t                        \u3000\u3000 for(i=0; i<=n-1; i++)
\n\t\t\t                        \u3000\u3000 {
\n\t\t\t                        \u3000\u3000 pr[i] = sqrt(fr[i]*fr[i]+fi[i]*fi[i]);
\n\t\t\t                        \u3000\u3000 if(fabs(fr[i])<0.000001*fabs(fi[i]))
\n\t\t\t                        \u3000\u3000 {
\n\t\t\t                        \u3000\u3000 if ((fi[i]*fr[i])>0)
\n\t\t\t                        \u3000\u3000 pi[i] = 90.0;
\n\t\t\t                        \u3000\u3000 else
\n\t\t\t                        \u3000\u3000 pi[i] = -90.0;
\n\t\t\t                        \u3000\u3000 }
\n\t\t\t                        \u3000\u3000 else
\n\t\t\t                        \u3000\u3000 pi[i] = atan(fi[i]\/fr[i])*360.0\/6.283185306;
\n\t\t\t                        \u3000\u3000 }
\n\t\t\t                        \u3000\u3000return;
\n\t\t\t                        \u3000\u3000}<\/p>\n

\n\t\t\t <\/div>\n<\/p><\/div>\n<\/div>\n

<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5085\u7acb\u53f6\u53d8\u6362\u7684\u91cd\u8981\u6027\u4e0d\u7528\u6211\u8bf4\uff0c\u60f3\u5fc5\u5927\u5bb6\u4e5f\u5f88\u6e05\u695a\uff0c\u6709\u4e86\u5085\u7acb\u53f6\u53d8\u6362\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u4ece\u4fe1\u53f7\u7684\u9891\u57df\u7279\u5f81\u53bb\u5206\u6790\u4fe1\u53f7\u3002\u5c24\u5176\u5728 \u65e0\u7ebf\u901a\u4fe1 \u7cfb\u7edf\u4e2d\uff0c\u5085\u91cc\u53f6\u53d8\u6362\u7684\u91cd\u8981\u6027\u5c31\u66f4\u52a0\u660e\u663e\u4e86\uff0c\u65e0\u8bba\u662f<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2497"}],"collection":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2497"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2497\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2497"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}