{"id":13909,"date":"2020-03-10T22:46:43","date_gmt":"2020-03-10T14:46:43","guid":{"rendered":"http:\/\/www.jdcui.com\/?p=13909"},"modified":"2026-02-18T20:59:59","modified_gmt":"2026-02-18T12:59:59","slug":"%e6%95%b0%e5%ad%a6%e8%bd%af%e4%bb%b6-four_tran-simple-example-filtering-four_tran%e5%82%85%e9%87%8c%e5%8f%b6%e5%88%86%e6%9e%90%e5%b7%a5%e5%85%b7%e7%ae%80%e5%8d%95%e4%be%8b%e5%ad%90-%e6%bb%a4","status":"publish","type":"post","link":"http:\/\/www.jdcui.com\/?p=13909","title":{"rendered":"[\u7a0b\u5e8f\u6848\u4f8b] FOUR_TRAN Example 1:  Filtering [FOUR_TRAN\u5085\u91cc\u53f6\u5206\u6790\u5de5\u5177\u4f7f\u7528\u6848\u4f8b1: \u6ee4\u6ce2]"},"content":{"rendered":"<p><span style=\"color: #ff00ff; background-color: #ccffcc;\"><strong>\u5b9e\u5e72\u3001\u5b9e\u8df5\u3001\u79ef\u7d2f\u3001\u601d\u8003\u3001\u521b\u65b0\u3002<\/strong><\/span><\/p>\n<hr \/>\n<p>\u6ee4\u6ce2\uff0c\u5085\u91cc\u53f6\u5206\u6790\u7684\u4e00\u4e2a\u5e94\u7528\u3002\u7528\u524d\u9762\u81ea\u5df1\u5199\u7684<a href=\"http:\/\/www.jdcui.com\/?p=13874\" target=\"_blank\" rel=\"noopener noreferrer\"><strong> FOUR_TRAN<\/strong><\/a> \u5085\u91cc\u53f6\u5206\u6790\u5de5\u5177\u8fdb\u884c\u5206\u6790\u3002<\/p>\n<p>\u51fd\u6570 y1\uff1a<\/p>\n<p>y1=10*SIN(2*PI()*0.5*x)\uff0c\u632f\u5e45\u4e3a10\uff0c\u9891\u7387\u4e3a0.5\uff1b<\/p>\n<p>\u51fd\u65702\uff1a<\/p>\n<p>y2=0.5*SIN(2*PI()*10*x)\uff0c\u632f\u5e45\u4e3a0.5\uff0c\u9891\u7387\u4e3a10\uff1b<\/p>\n<p>\u51fd\u6570yw \u4e3a\u51fd\u6570y1\u4e0e\u51fd\u6570y2\u7684\u53e0\u52a0\uff1a<\/p>\n<p>y=y1+y2<\/p>\n<p>\u4ece\u56fe\u53ef\u89c1\uff0c\u7531\u4e8ey2\u632f\u5e45\u5c0f\uff0c\u9891\u7387\u5927\uff0cy1\u632f\u5e45\u5927\uff0c\u9891\u7387\u5c0f\u3002\u53e0\u52a0\u540ey\u6574\u4f53\u8d8b\u52bf\u4e0ey1\u7c7b\u4f3c\uff0c\u76f8\u5f53\u4e8e\u5728y1\u7684\u57fa\u7840\u4e0a\u52a0\u4e0a\u4e86\u4e00\u4e9b\u6ce2\u52a8\u3002<\/p>\n<p>\u6211\u4e48\u8bb0\u4e0b\u6765\u901a\u8fc7\u5085\u91cc\u53f6\u53d8\u5316\uff0c\u60f3\u529e\u6cd5\u628a\u4ecey\u4e2d\u628a\u8fd9\u4e9b\u6ce2\u52a8\u7684y2\u8fc7\u6ee4\u6389\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14045\" src=\"http:\/\/www.jdcui.com\/wp-content\/uploads\/2020\/02\/FOUR_TRAN_0_ExampleFuction.gif\" alt=\"\" width=\"600\" height=\"618\" \/><\/p>\n<p>\u6253\u5f00<strong><a href=\"http:\/\/www.jdcui.com\/?p=13874\" target=\"_blank\" rel=\"noopener noreferrer\">FOUR_TRAN<\/a>\uff0c<\/strong>\u5bfc\u5165\u79bb\u6563\u540e\u7684\u51fd\u6570y\uff0c\u5e76\u8fdb\u884c\u5085\u91cc\u53f6\u5206\u6790\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14047\" src=\"http:\/\/www.jdcui.com\/wp-content\/uploads\/2020\/02\/FOUR_TRAN_1.gif\" alt=\"\" width=\"600\" height=\"509\" \/><\/p>\n<p>\u4ece\u4e0a\u56fe\u53ef\u89c1\uff0c\u5085\u91cc\u53f6\u53d8\u6362\uff0c\u53ef\u51c6\u786e\u89e3\u6790\u51fa\u4e24\u4e2a\u4e3b\u8981\u9891\u7387\u6210\u5206\uff0c\u4e00\u4e2a\u662f0.5\uff0c\u4e00\u4e2a\u65f610\uff0c\u5176\u4e2d\u9891\u7387\u4e3a0.5\u7684\u5085\u91cc\u53f6\u632f\u5e45\u8c31\u5927\uff0c\u800c\u9891\u7387\u4e3a10\u7684\u5085\u91cc\u53f6\u632f\u5e45\u8c31\u5c0f\uff0c\u80fd\u91cf\u6210\u5206\u4f4e\u3002\u4e0e\u6211\u4eec\u524d\u9762\u7684\u51fd\u6570\u4e00\u81f4\u3002<\/p>\n<p>\u63a5\u7740\u6211\u4eec\u628a\u9891\u7387\u4e3a0.5\u9644\u8fd1\u7684\u6210\u5206\u7d2f\u52a0\u8d77\u6765\uff08\u9006\u53d8\u6362\uff09\uff0c\u5982\u4e0b\u56fe\u7ea2\u8272\u90e8\u5206\uff0c\u7ea2\u8272\u66f2\u7ebf\u57fa\u672c\u5c31\u662f\u6700\u521d\u7684y1\uff0cy2\u88ab\u6210\u529f\u8fc7\u6ee4\u6389\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14048\" src=\"http:\/\/www.jdcui.com\/wp-content\/uploads\/2020\/02\/FOUR_TRAN_2.gif\" alt=\"\" width=\"600\" height=\"410\" \/><\/p>\n<p>\u5982\u4e0b\uff0c\u7ea2\u513f\u66f2\u7ebf\u5373\u662f\u8fc7\u6ee4\u6389\u9891\u738710\u540e\u7684\u66f2\u7ebf\uff0c\u66f2\u7ebf\u4e0ey1\u4e00\u81f4\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14049\" src=\"http:\/\/www.jdcui.com\/wp-content\/uploads\/2020\/02\/FOUR_TRAN_3.gif\" alt=\"\" width=\"600\" height=\"410\" \/><\/p>\n<p>\u63a5\u7740\u6211\u4eec\u628a\u9891\u7387\u4e3a10\u9644\u8fd1\u7684\u6210\u5206\u7d2f\u52a0\u8d77\u6765\uff08\u9006\u53d8\u6362\uff09\uff0c\u5f97\u5230\u4e0b\u56fe\u7684\u7ea2\u8272\u90e8\u5206\uff0c\u6b64\u65f6\u7ea2\u8272\u90e8\u5206\u57fa\u672c\u662f\u51fd\u6570y2\uff0cy1\u6210\u529f\u8fc7\u6ee4\u6389\u4e86\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14050\" src=\"http:\/\/www.jdcui.com\/wp-content\/uploads\/2020\/02\/FOUR_TRAN_4.gif\" alt=\"\" width=\"600\" height=\"460\" \/><\/p>\n<p>\u8fd9\u5c31\u662f\u7b80\u5355\u7684\u6ee4\u6ce2\u7684\u4f8b\u5b50\u3002<\/p>\n<ul style=\"list-style-type: square;\">\n<li><strong>\u5173\u4e8e\u8f6f\u4ef6(<span style=\"color: #000080;\"> About the Program<\/span>)<\/strong><\/li>\n<\/ul>\n<p><strong>\u00a0 [01] <a href=\"http:\/\/www.jdcui.com\/?p=13874\" target=\"_blank\" rel=\"noopener noreferrer\">[\u6570\u5b66][\u5730\u9707\u52a8][\u8f6f\u4ef6] FOUR_TRAN: Fourier Analysis Tool [\u5085\u91cc\u53f6\u5206\u6790\u5de5\u5177]<\/a><\/strong><\/p>\n<ul style=\"list-style-type: square;\">\n<li><strong>\u6848\u4f8b (<span style=\"color: #000080;\"> Examples <\/span>)<\/strong><\/li>\n<\/ul>\n<p><strong>\u00a0 [01] <a href=\"http:\/\/www.jdcui.com\/?p=13909\" target=\"_blank\" rel=\"noopener noreferrer\">[\u6570\u5b66][\u8f6f\u4ef6] FOUR_TRAN Example 1: Filtering [FOUR_TRAN\u5085\u91cc\u53f6\u5206\u6790\u5de5\u5177\u4f7f\u7528\u6848\u4f8b1: \u6ee4\u6ce2]<\/a><\/strong><\/p>\n<p><strong>\u00a0 [02] <a href=\"http:\/\/www.jdcui.com\/?p=13911\" target=\"_blank\" rel=\"noopener noreferrer\">[\u6570\u5b66][\u8f6f\u4ef6] FOUR_TRAN Example 2: Square Wave Signal Decomposition [FOUR_TRAN\u5085\u91cc\u53f6\u5206\u6790\u5de5\u5177\u4f7f\u7528\u6848\u4f8b2: \u65b9\u6ce2\u4fe1\u53f7\u5206\u89e3]<\/a><\/strong><\/p>\n<p><strong>\u00a0 [03] <a href=\"http:\/\/www.jdcui.com\/?p=13914\" target=\"_blank\" rel=\"noopener noreferrer\">[\u6570\u5b66][\u8f6f\u4ef6] FOUR_TRAN Example 3: Earthquake Ground Acceleration Frequency Spectrum Analysis [FOUR_TRAN\u5085\u91cc\u53f6\u5206\u6790\u5de5\u5177\u4f7f\u7528\u6848\u4f8b3: \u5730\u9707\u6ce2\u9891\u8c31\u5206\u6790]<\/a><\/strong><\/p>\n<p><strong>\u00a0 [04] <a title=\"[\u632f\u52a8\u53f0][\u8bd5\u9a8c][\u8f6f\u4ef6] \u632f\u52a8\u53f0(Shaking Table Test)\u767d\u566a\u58f0\u8bd5\u9a8c\u6570\u636e\u5904\u7406\u2014\u2014\u6c42\u7ed3\u6784\u81ea\u632f\u7279\u6027\" href=\"http:\/\/www.jdcui.com\/?p=15689\" target=\"_blank\" rel=\"noopener noreferrer\">[\u632f\u52a8\u53f0][\u8bd5\u9a8c][\u8f6f\u4ef6] \u632f\u52a8\u53f0(Shaking Table Test)\u767d\u566a\u58f0\u8bd5\u9a8c\u6570\u636e\u5904\u7406\u2014\u2014\u6c42\u7ed3\u6784\u81ea\u632f\u7279\u6027<\/a><\/strong><\/p>\n<p><strong>\u00a0 [05] <a title=\"[\u6570\u5b66][\u8f6f\u4ef6] FOUR_TRAN Example 4: Stock Periodicity and Volatility Analysis [FOUR_TRAN\u5085\u91cc\u53f6\u5206\u6790\u5de5\u5177 \u6848\u4f8b4: \u80a1\u7968\u5468\u671f\u6027\u548c\u6ce2\u52a8\u6027\u5206\u6790]\" href=\"http:\/\/www.jdcui.com\/?p=19570\" target=\"_blank\" rel=\"noopener\">[\u6570\u5b66][\u8f6f\u4ef6] FOUR_TRAN Example 4: Stock Periodicity and Volatility Analysis [FOUR_TRAN\u5085\u91cc\u53f6\u5206\u6790\u5de5\u5177 \u6848\u4f8b4: \u80a1\u7968\u5468\u671f\u6027\u548c\u6ce2\u52a8\u6027\u5206\u6790]<\/a><\/strong><\/p>\n<p><center><strong><div  class=\"thumbs-rating-container\" id=\"thumbs-rating-13909\" data-content-id=\"13909\"><button class=\"thumbs-rating-up thumbs-rating-voted\" onclick=\"thumbs_rating_vote(13909, 1);\">Vote Up +8<\/button> <button class=\"thumbs-rating-down thumbs-rating-voted\" onclick=\"thumbs_rating_vote(13909, 2);\">Vote Down -2<\/button><span class=\"thumbs-rating-already-voted\">You already voted!<\/span><\/div><\/strong><\/center><\/p>\n<ul style=\"list-style-type: square;\">\n<li style=\"text-align: left;\"><strong>\u5fae\u4fe1\u516c\u4f17\u53f7\u00a0(<span style=\"color: #000080;\">\u00a0Wechat\u00a0Subscription<\/span>)<\/strong><\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.jdcui.com\/wp-content\/uploads\/2017\/01\/QRCODE.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3636\" src=\"http:\/\/www.jdcui.com\/wp-content\/uploads\/2017\/01\/QRCODE.jpg\" alt=\"WeChat_QRCode\" width=\"250\" height=\"255\" \/><\/a><\/p>\n<p style=\"text-align: center;\"><strong>\u6b22\u8fce\u5173\u6ce8\u00a0\u201c<span style=\"color: #ff00ff;\">\u7ed3\u6784\u4e4b\u65c5<\/span>\u201d\u00a0\u5fae\u4fe1\u516c\u4f17\u53f7<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b9e\u5e72\u3001\u5b9e\u8df5\u3001\u79ef\u7d2f\u3001\u601d\u8003\u3001\u521b\u65b0\u3002 \u6ee4\u6ce2\uff0c\u5085\u91cc\u53f6\u5206\u6790\u7684\u4e00\u4e2a\u5e94\u7528\u3002\u7528\u524d\u9762\u81ea\u5df1\u5199\u7684 FOUR_TRAN \u5085\u91cc\u53f6\u5206\u6790\u5de5\u5177\u8fdb\u884c\u5206\u6790\u3002 \u51fd\u6570 y1\uff1a y1=10*SIN(2*PI()*0.5*x)\uff0c\u632f\u5e45\u4e3a10\uff0c\u9891\u7387\u4e3a0.5\uff1b \u51fd\u65702\uff1a y2=0.5*SIN(2*PI()*10*x)\uff0c\u632f\u5e45\u4e3a0.5\uff0c\u9891\u7387\u4e3a10\uff1b \u51fd\u6570yw \u4e3a\u51fd\u6570y1\u4e0e\u51fd\u6570y2\u7684\u53e0\u52a0\uff1a y=y1+y2 \u4ece\u56fe\u53ef\u89c1\uff0c\u7531\u4e8ey2\u632f\u5e45\u5c0f\uff0c\u9891\u7387\u5927\uff0cy1\u632f\u5e45\u5927\uff0c\u9891\u7387\u5c0f\u3002\u53e0\u52a0\u540ey\u6574\u4f53\u8d8b\u52bf\u4e0ey1\u7c7b\u4f3c\uff0c\u76f8\u5f53\u4e8e\u5728y1\u7684\u57fa\u7840\u4e0a\u52a0\u4e0a\u4e86\u4e00\u4e9b\u6ce2\u52a8\u3002 \u6211\u4e48\u8bb0\u4e0b\u6765\u901a\u8fc7\u5085\u91cc\u53f6\u53d8\u5316\uff0c\u60f3\u529e\u6cd5\u628a\u4ecey\u4e2d\u628a\u8fd9\u4e9b\u6ce2\u52a8\u7684y2\u8fc7\u6ee4\u6389\u3002 \u6253\u5f00FOUR_TRAN\uff0c\u5bfc\u5165\u79bb\u6563\u540e\u7684\u51fd\u6570y\uff0c\u5e76\u8fdb\u884c\u5085\u91cc\u53f6\u5206\u6790\u3002 \u4ece\u4e0a\u56fe\u53ef\u89c1\uff0c\u5085\u91cc\u53f6\u53d8\u6362\uff0c\u53ef\u51c6\u786e\u89e3\u6790\u51fa\u4e24\u4e2a\u4e3b\u8981\u9891\u7387\u6210\u5206\uff0c\u4e00\u4e2a\u662f0.5\uff0c\u4e00\u4e2a\u65f610\uff0c\u5176\u4e2d\u9891\u7387\u4e3a0.5\u7684\u5085\u91cc\u53f6\u632f\u5e45\u8c31\u5927\uff0c\u800c\u9891\u7387\u4e3a10\u7684\u5085\u91cc\u53f6\u632f\u5e45\u8c31\u5c0f\uff0c\u80fd\u91cf\u6210\u5206\u4f4e\u3002\u4e0e\u6211\u4eec\u524d\u9762\u7684\u51fd\u6570\u4e00\u81f4\u3002 \u63a5\u7740\u6211\u4eec\u628a\u9891\u7387\u4e3a0.5\u9644\u8fd1\u7684\u6210\u5206\u7d2f\u52a0\u8d77\u6765\uff08\u9006\u53d8\u6362\uff09\uff0c\u5982\u4e0b\u56fe\u7ea2\u8272\u90e8\u5206\uff0c\u7ea2\u8272\u66f2\u7ebf\u57fa\u672c\u5c31\u662f\u6700\u521d\u7684y1\uff0cy2\u88ab\u6210\u529f\u8fc7\u6ee4\u6389\u4e86\u3002 \u5982\u4e0b\uff0c\u7ea2\u513f\u66f2\u7ebf\u5373\u662f\u8fc7\u6ee4\u6389\u9891\u738710\u540e\u7684\u66f2\u7ebf\uff0c\u66f2\u7ebf\u4e0ey1\u4e00\u81f4\u3002 \u63a5\u7740\u6211\u4eec\u628a\u9891\u7387\u4e3a10\u9644\u8fd1\u7684\u6210\u5206\u7d2f\u52a0\u8d77\u6765\uff08\u9006\u53d8\u6362\uff09\uff0c\u5f97\u5230\u4e0b\u56fe\u7684\u7ea2\u8272\u90e8\u5206\uff0c\u6b64\u65f6\u7ea2\u8272\u90e8\u5206\u57fa\u672c\u662f\u51fd\u6570y2\uff0cy1\u6210\u529f\u8fc7\u6ee4\u6389\u4e86\u3002 \u8fd9\u5c31\u662f\u7b80\u5355\u7684\u6ee4\u6ce2\u7684\u4f8b\u5b50\u3002 \u5173\u4e8e\u8f6f\u4ef6( About the Program) \u00a0 [01] [\u6570\u5b66][\u5730\u9707\u52a8][\u8f6f\u4ef6] FOUR_TRAN: Fourier Analysis &#8230;<\/p>\n","protected":false},"author":1,"featured_media":14045,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1476,4,31],"tags":[2260,2280,2268,2256,2307,1951,2265],"class_list":["post-13909","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-algorithm-","category-math-geometry","category-my-software-","tag-dft","tag-fft","tag-filtering","tag-four_tran","tag-fourier-serie","tag-1951","tag-2265"],"aioseo_notices":[],"views":2505,"_links":{"self":[{"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/posts\/13909","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13909"}],"version-history":[{"count":0,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/posts\/13909\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=\/wp\/v2\/media\/14045"}],"wp:attachment":[{"href":"http:\/\/www.jdcui.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13909"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13909"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jdcui.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13909"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}