当前位置:网站首页>[matlab]: FFT related problems
[matlab]: FFT related problems
2022-07-28 13:10:00 【Summer is cool and autumn falls】
List of articles
1、 fft Amplitude in
DC component :abs(X[0])/N
Components of other frequency points : abs(X[f])/(N/2)
Amplitude rotation db Pay attention to pow2db() and db() Usage of , The former is power , The latter is amplitude .
Here's the specific fft Program , The program is more general for non DC components fft Amplitude value of
function fft_plot(y,fs,s_name)
% L_i = length(y)*100;
L_i = 2^nextpow2(length(y)*100);
s_i_fft = fft(y,L_i);
s_i_fftshfit = fftshift(s_i_fft);
P = abs(s_i_fftshfit/length(y))*2; % For non DC components or 0 It's divided by N multiply 2, For the DC component, it is directly divided by N
% fshift = (-L_i/2:L_i/2-1)*(fs/L_i);
fshift = linspace(-fs/2,fs/2,L_i);
figure;
plot(fshift,P);
title([s_name,' Bilateral spectrum of ']);
xlabel('f (Hz)');
ylabel('|P(f)|');
end
2 、 reference
- FFT Why is the amplitude spectrum wrong , Need correction
- fft After the operation, you need to multiply the amplitude 2 except N( The number of transformed points ) Explanation (Matlab)
- FFT Determination of frequency and amplitude of
- Matlab in IFFT/FFT Precautions and in OFDM Application problems in simulation
边栏推荐
- Problem solving during copilot trial
- 【嵌入式C基础】第6篇:超详细的常用的输入输出函数讲解
- A brief introduction to the for loop. Some of the code involves arrays
- Leetcode:704 binary search
- The essence of enterprise Digitalization
- Introduction to border border attribute
- Chinese translation of pointnet:deep learning on point sets for 3D classification and segmentation
- Leetcode remove element & move zero
- Dimming and color matching cool light touch chip-dlt8ma12ts-jericho
- 云原生—运行时环境
猜你喜欢

Code layered management of interface testing based on RF framework

Machine learning Basics - integrated learning-13

Merge sort
![[graduation design] heart rate detection system based on single chip microcomputer - STM32 embedded Internet of things](/img/b4/06c822c52f5bb0045698b7107efb26.png)
[graduation design] heart rate detection system based on single chip microcomputer - STM32 embedded Internet of things

Vs code is not in its original position after being updated
![[basic teaching of Bi design] detailed explanation of OLED screen use - single chip microcomputer Internet of things](/img/76/820d4e357206f936b33da92a5e2b5b.png)
[basic teaching of Bi design] detailed explanation of OLED screen use - single chip microcomputer Internet of things
![[embedded C foundation] Part 4: use of operators](/img/01/b3b6c093095dd6a076ae43521a1917.png)
[embedded C foundation] Part 4: use of operators
![[embedded C foundation] Part 1: basic data types](/img/45/b0bc9e90b0582f0f2624ce27b5a76c.png)
[embedded C foundation] Part 1: basic data types

Comments are not allowed in JSON

Application and download of dart 3D radiative transfer model
随机推荐
Use and source code of livedata in jetpack family bucket
Fundamentals of machine learning - principal component analysis pca-16
Brief introduction to JS operator
Xampp Chinese tutorial guide
Block reversal (summer vacation daily question 7)
2020-12-13
Datanode data block missing problem finding
Detailed explanation of the usage of C # static
Solution to using json.tojsonstring to display question marks in Chinese in Servlet
面试必问,敲重点!讲一下 Android Application 启动流程及其源码?
Understanding of vite2
The essence of enterprise Digitalization
2020-12-07
[June 28 event preview] low code Summit
Sub thread update UI full solution
[embedded C foundation] Part 3: constants and variables
Vs code is not in its original position after being updated
Brother bird talks about cloud native security best practices
Which big model is better? Openbmb releases bmlist to give you the answer!
[graduation design] heart rate detection system based on single chip microcomputer - STM32 embedded Internet of things