{"id":22399976,"url":"https://github.com/krproject-tech/fft_filter","last_synced_at":"2025-03-27T00:17:13.308Z","repository":{"id":74011778,"uuid":"605031516","full_name":"KRproject-tech/FFT_filter","owner":"KRproject-tech","description":"MATLAB code for Low Pass Filter (LPF) and High Pass Filter (HPF) based on Fast Fourier Transform (FFT).","archived":false,"fork":false,"pushed_at":"2024-09-15T14:01:31.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T05:41:55.405Z","etag":null,"topics":["fft","hpf","lpf","matlab"],"latest_commit_sha":null,"homepage":"","language":"MATLAB","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KRproject-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-22T09:49:05.000Z","updated_at":"2024-09-15T14:01:34.000Z","dependencies_parsed_at":"2023-11-16T06:31:24.446Z","dependency_job_id":"4109e235-fe03-4c6d-bac3-acd6850883e0","html_url":"https://github.com/KRproject-tech/FFT_filter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KRproject-tech%2FFFT_filter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KRproject-tech%2FFFT_filter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KRproject-tech%2FFFT_filter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KRproject-tech%2FFFT_filter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KRproject-tech","download_url":"https://codeload.github.com/KRproject-tech/FFT_filter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245755683,"owners_count":20667027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fft","hpf","lpf","matlab"],"created_at":"2024-12-05T08:10:48.868Z","updated_at":"2025-03-27T00:17:13.269Z","avatar_url":"https://github.com/KRproject-tech.png","language":"MATLAB","funding_links":[],"categories":[],"sub_categories":[],"readme":"![図1](https://user-images.githubusercontent.com/114337358/220586933-99d9dcf2-ca75-4198-b216-380defbd2c4e.png)\n\n# \u003cp align=center\u003eFFT_filter\u003c/p\u003e\n\n![License](https://img.shields.io/github/license/yuki-koyama/elasty)\n\u003cimg src=\"https://img.shields.io/badge/Matlab-%3E%3D%202007b%20-blue.svg\" alt=\"Matlab\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/Windows-Pass-brightgreen.svg\" alt=\"Windows\"\u003e\n\n\n**Communication**\n\n\u003ca style=\"text-decoration: none\" href=\"https://twitter.com/hogelungfish_\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/twitter-%40hogelungfish-1da1f2.svg\" alt=\"Twitter\"\u003e\n\u003c/a\u003e\n\u003cp\u003e\n\n**Language**\n\u003cp\u003e\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/devicons/devicon/icons/matlab/matlab-original.svg\" width=\"60\"/\u003e\n\u003cp\u003e\n\n\n__MATLAB code for Low Pass Filter (LPF) and High Pass Filter (HPF) based on Fast Fourier Transform (FFT) [^1].__\n\n\n# Usage\n\n`filtered_data = FFT_filter_func( raw_data, [f_min f_max], plot_flag);`\n\nwhere\n\n`raw_data = [ time_vec data_vec]`: time data `time_vec` [s] and time series of raw data `data_vec` [a.u.].\n\n`[f_min f_max]`: bandpass [Hz]. \n\n`plot_flag`: When the argument is present, the FFT spectrum is plotted.\n\n## Source codes\n\n* FFT_filter_func.m: FFT fliter function.\n\n* demo.m: demonstration for FFT_filter_func.m.\n\n## Images\n\n__Input data example__: \n\n$f(t) = 4\\cos( 2\\pi t) + 2\\cos( 2\\pi 10t) + \\sin( 2\\pi 100t)$\n\n\n* __Power spectrum of input data__\n\n![untitled](https://user-images.githubusercontent.com/114337358/220673079-b0f8f224-5e1d-44c1-9614-5b839af66961.png)\n\n\n* __0-20Hz LPF__: `FFT_filter_func( data, [0 20], 1);`\n![0-20_Hz](https://user-images.githubusercontent.com/114337358/220587034-48051427-612d-439a-89a8-79bae1d1d11b.png)\n\n* __0-5Hz LPF__: `FFT_filter_func( data, [0 5], 1);`\n![0-5_Hz](https://user-images.githubusercontent.com/114337358/220587056-f01819bb-b3d4-415f-9ca2-cd9457806963.png)\n\n* __5- Hz HPF__: `FFT_filter_func( data, [5 Inf], 1);`\n![5-Inf_Hz](https://user-images.githubusercontent.com/114337358/220587069-ba2c7ec2-f5d2-4643-a984-b148220bb3e9.png)\n\n\n\n\n### References\n\n[^1]: . \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrproject-tech%2Ffft_filter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrproject-tech%2Ffft_filter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrproject-tech%2Ffft_filter/lists"}