当前位置:网站首页>[digital signal] spectrum refinement based on MATLAB analog window function [including Matlab source code 1906]

[digital signal] spectrum refinement based on MATLAB analog window function [including Matlab source code 1906]

2022-06-24 00:09:00 Poseidon light

One 、 How to get the code

How to get the code 1:
The complete code has been uploaded to my resources :【 digital signal 】 be based on matlab Spectrum refinement of analog window function 【 contain Matlab Source code 1906 period 】

How to get the code 2:
By subscribing to Ziji Shenguang blog Paid column , With proof of payment , Private Blogger , This code is available .

remarks :
Subscribe to Ziji Shenguang blog Paid column , Free access to 1 Copy code ( The period of validity From the Subscription Date , Valid for three days );

Two 、 Partial source code

clear;
close all;
clc;
N=50; 
w=boxcar(N); 
W=fft(w,256); 
figure(1) 
subplot(2,1,1); 
stem([0:N-1],w); 
subplot(2,1,2); 
plot([-128:127],abs(fftshift(W))) 
N=input(' Window function length ='); 
L=512; 
f1=100;f2=120;fs=600; 
ws=2*pi*fs; 
t=(0:N-1)*(1/fs); 
x=cos(2*pi*f1*t)+cos(2*pi*f2*t); 

3、 ... and 、 Running results

 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here

Four 、matlab Edition and references

1 matlab edition
2014a

2 reference
[1] Shen Zaiyang . Master MATLAB signal processing [M]. tsinghua university press ,2015.
[2] Gao Baojian , Peng Jinye , Wang Lin , Pan Jianshou . Signals and systems —— Use MATLAB Analysis and Implementation [M]. tsinghua university press ,2020.
[3] Wang Wenguang , Wei Shaoming , Ren Xin . Signal processing and system analysis MATLAB Realization [M]. Electronic industry press ,2018.

3 remarks
This part of the introduction is taken from the Internet , For reference only , If infringement , Contact deletion

原网站

版权声明
本文为[Poseidon light]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206232143063341.html