필터 지우기
필터 지우기

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 CenterFile Exchange에서 Smoothing and Denoising에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by