![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1259335/image.png)
Matlab fitting method to optimize the SNR in the frequency response curve to identify high error frequencies
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
venkat ta
il 10 Gen 2023
Commentato: Mathieu NOE
il 12 Gen 2023
[stmfile,stmpath]=uigetfile('*mat','pick the mat file');
File = fullfile(char(stmpath),char(stmfile));
load(File);
[~,fileName,~] = fileparts(char(File)); % e.g., file is 'dp600_2_layers_L50.xlsx'
semilogx(No_smooth_x,'r-');hold on
grid on
grid minor
xlabel('Frequency(Hz)','FontSize',20)
set(gca,'FontSize',20);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1258570/image.png)
0 Commenti
Risposta accettata
Mathieu NOE
il 11 Gen 2023
hello
this will reduce your plot noise but maybe you should improve the measurement method first ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1259335/image.png)
load('Noise.mat');
smooth_x = smoothdata(No_smooth_x,'gaussian',500);
% keep original data below f = 500 Hz
smooth_x(1:500) = No_smooth_x(1:500);
semilogx(No_smooth_x,'r-');hold on
semilogx(smooth_x,'b-');hold on
grid on
grid minor
xlabel('Frequency(Hz)','FontSize',20)
set(gca,'FontSize',20);
4 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Parametric Spectral Estimation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!