發(fā)布日期:09-12 ? 分類信息 ? 閱讀 118 次
之前說(shuō)到來(lái)至加拿大的算賬機(jī)器人用到CouchDB是一個(gè)開(kāi)源的面向文檔的數(shù)據(jù)庫(kù)管理系統(tǒng),PC-28算賬機(jī)器人軟件用到的CouchDB的問(wèn)
然而也用到了OpenCV可以運(yùn)行在Linux,、Windows,、Android和Mac OS操作系統(tǒng)上。
官方:http://pc16888.com
OpenCV的全稱是:Open Source Computer Vision Library,。OpenCV是一個(gè)基于BSD許可(開(kāi)源)發(fā)行的跨平臺(tái)計(jì)算機(jī)視覺(jué)庫(kù),,可以運(yùn)行在Linux、Windows,、Android和Mac OS操作系統(tǒng)上,。
過(guò)程提示:
1001622374850687%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%------------------------------------------------------------------------------------%
%************************************** Filter **************************************%
%------------------------------------------------------------------------------------%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Date:2018.8.25
% Author:flypassion
% Version:1.0
clear all
close all
clc
%% Parameter Interface
Frequence0 = 60; %單位:Hz
Frequence1 = 130; %單位:Hz
Frequence2 = 1e3; %單位:Hz
SampleFre = 4e3; %單位:Hz
SampleLen = SampleFre; %采樣點(diǎn)數(shù)
%% Main
%-------------------產(chǎn)生三路信號(hào)
t = 0:1/SampleLen:1/SampleFre*(SampleLen-1);
SignalData0 = sin(2*pi*Frequence0*t);
SignalData1 = sin(2*pi*Frequence1*t);
SignalData2 = sin(2*pi*Frequence2*t);
SignalData3 = SignalData0+SignalData1+SignalData2;
figure;hold on
plot(t(1:150),SignalData0(1:150),'b')
plot(t(1:150),SignalData1(1:150),'r')
plot(t(1:150),SignalData2(1:150),'k')
hold off
figure;plot(t(1:150),SignalData3(1:150))
title('三路信號(hào)求和')
%-------------------頻譜分析
FFT_Data = fft(SignalData3);
Amplitude = abs(FFT_Data);
Amplitude = Amplitude/length(Amplitude);
Amplitude(2:end) = 2*Amplitude(2:end);
Frequence = (0:(length(Amplitude)/2-1))/length(Amplitude)*SampleFre;
figure;plot(Frequence,Amplitude(1:length(Frequence)))
title('三路信號(hào)疊加頻譜')
%-------------------低通濾波
LPF_Coe = load('LPF_60M.mat');
LPF_Data = filter(LPF_Coe.LPF_60M,1,SignalData3);
figure;plot(t,LPF_Data)
title('低通濾波之后的波形')
%-------------------低通濾波之后頻譜分析
FFT_LPF_Data = fft(LPF_Data);
Amplitude_LPF = abs(FFT_LPF_Data);
Amplitude_LPF = Amplitude_LPF/length(Amplitude_LPF);
Amplitude_LPF(2:end) = 2*Amplitude_LPF(2:end);
Frequence = (0:(length(Amplitude_LPF)/2-1))/length(Amplitude_LPF)*SampleFre;
figure;plot(Frequence,Amplitude_LPF(1:length(Frequence)))
title('低通濾波之后的頻譜')
%-------------------帶通濾波
BPF_Coe = load('BPF_130M.mat');
BPF_Data = filter(BPF_Coe.BPF_130M,1,SignalData3);
figure;plot(t,BPF_Data)
title('帶通濾波之后的波形')
%-------------------帶通濾波之后頻譜分析
FFT_BPF_Data = fft(BPF_Data);
Amplitude_BPF = abs(FFT_BPF_Data);
Amplitude_BPF = Amplitude_BPF/length(Amplitude_BPF);
Amplitude_BPF(2:end) = 2*Amplitude_BPF(2:end);
Frequence = (0:(length(Amplitude_BPF)/2-1))/length(Amplitude_BPF)*SampleFre;
figure;plot(Frequence,Amplitude_BPF(1:length(Frequence)))
title('帶通濾波之后的頻譜')
CQ9電子游戲哪個(gè)出分高:可謂一絕的爆分技巧大獎(jiǎng) 2023-11-27 17:28:12
獨(dú)家iBB娛樂(lè)游戲體驗(yàn):《模擬山羊3》沙盒惡搞全新季節(jié)性 2023-11-22 11:05:24
全球PG游戲格局巨變:newzoo發(fā)布2023報(bào)告,主機(jī)+PC競(jìng)爭(zhēng)激 2023-11-21 13:36:26
小黑云數(shù)據(jù):湖北十堰高仿 vps,,4核/4G內(nèi)存/60G硬盤/10Mbp 2023-11-20 08:27:51
榮耀之戰(zhàn),!AE86歸來(lái)《巔峰極速:夜城狂飆》成為PG游戲極 2023-11-11 14:44:44
新手必讀:CQ9跳高高電玩游戲技巧規(guī)律之爆分秘籍! 2023-11-09 00:47:37
中國(guó)GPU嶄露頭角:摩爾線程內(nèi)部信分析CQ9電子行業(yè)的新機(jī) 2023-11-06 21:51:33
算賬機(jī)器人-JND-PC算賬-加拿大-牛牛機(jī)器人 2023-09-12 15:37:52
盈鋒 2023-08-25 12:23:52
水利水電二級(jí)資質(zhì)轉(zhuǎn)讓 2023-08-12 19:21:13