フィルターのクリア

I have a signal which is quite noisy, I want to remove the noise from the signal, I did the smoothing but the results are still not good. The file is attached below

3 ビュー (過去 30 日間)
I have a signal which is quite noisy, I want to remove the noise from the signal, I did the smoothing but the results are still not good. What is the best way to remove the noise. The file is attached below
The CODE is:
clear all
clc
%WITH HOLE UP:
anum1= xlsread('DSO0001.csv','A7138:A12438');
anum2=xlsread('DSO0001.csv','C7138:C12438');
anum3=smoothdata(anum2);
plot(anum1,anum3,'b')
title('Generator On Hole (Without Smoothing)')
set(gca,'Fontsize',20)
xlabel('Time (milli Second)')
ylabel('volatage (mV)')

回答 (1 件)

Chunru
Chunru 2022 年 3 月 21 日
data= readmatrix("https://www.mathworks.com/matlabcentral/answers/uploaded_files/934649/DSO0001.CSV");
anum1 = data(:,1);
anum2 = data(:,3);
% Adjust the smooth methods and window size
anum3=smoothdata(anum2, 1, 'sgolay', 100);
subplot(211); plot(anum1,anum3,'b')
title('Generator On Hole (With Smoothing)')
xlim([0.7 1.2]*1e4);
subplot(212); plot(anum1,anum2,'g')
xlim([0.7 1.2]*1e4);
title('Generator On Hole (Without Smoothing)')
xlabel('Time (milli Second)')
ylabel('volatage (mV)')

カテゴリ

Help Center および File ExchangeSmoothing and Denoising についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by