How to reconstruct original signal from fft?

조회 수: 13 (최근 30일)
Matej Pericic
Matej Pericic 2017년 3월 4일
댓글: Matej Pericic 2017년 3월 4일
Hello everyone!!
I have some measurement data (current) from oscilloscope in .csv file format. I need to make fft from that data and reconstruct original signal from dominant frequencies. I've done fft using code
clc;clear all;close all;
data = csvread('F0000CH2.CSV');
t=data(:,4);
x=data(:,5);
plot(t,x)
dft=fft(x);
plot(abs(dft));
How can I read current values for dominant frequencies and is it possible to reconstruct the original oscilloscope signal from only using dominant frequencies? Below is original current and voltage signal from oscilloscope. Thanks for your help. :)

채택된 답변

Walter Roberson
Walter Roberson 2017년 3월 4일
After you fft(), you zero the entries with lower magnitudes (absolute value), and then you ifft() to reconstruct.
  댓글 수: 3
Walter Roberson
Walter Roberson 2017년 3월 4일
... they are the entries you didn't zero out?
If you want to know what frequencies they are, then I suggest you look at the examples in the fft documentation to see how they construct the frequency labels for the graphs.
Matej Pericic
Matej Pericic 2017년 3월 4일
Thank you for you time and answers. I will look at the examples.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by