I collected signal data from labchart and plotted it in matalb,but my end goal is to get an fft of that signal or graph that I plotted.I was wondering how can I accurately get and fft of that plot.

댓글 수: 2

Walter Roberson
Walter Roberson 2017년 7월 10일
Do you still have the data that was being plotted, or could you modify your program to save it?
If not then do you still have the graphics objects that went into making up the parts of the plot?
If not then is all you have a screen capture of a line plot?
Mugisha Nitunga
Mugisha Nitunga 2017년 7월 10일
I have the raw data that I extracted from the labchart signal and the signal which is in labchart.

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

답변 (1개)

Star Strider
Star Strider 2017년 7월 10일

0 개 추천

See the documentation for the fft (link) function. Particularly note the code between the first (top) two plot figures.

댓글 수: 3

Mugisha Nitunga
Mugisha Nitunga 2017년 7월 10일
thank you, so is it possible to just get the specific signal section from labchart and directly plot it in matlab then get the fft?
Walter Roberson
Walter Roberson 2017년 7월 10일
Just take the data you collected and fft it (or otherwise process it as appropriate, such as spectrogram())
Star Strider
Star Strider 2017년 7월 10일
My pleasure.
Since you plotted the original data in MATLAB, you have the data. If you know the independent variable range that you want to analyze, you can use the find function to determine the indices for the variable range, and then just use those indices to access your independent and dependent variables.
If you want to do it graphically, in the plot figure window, you can use the ‘Data Brushing’ tool to select specific data from the plot, then save them to the Clipboard to analyze separately. See the documentation on Marking Up Graphs with Data Brushing (link) for details.
Once you get the data you are interested in analyzing, you can do the fft on it.

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

카테고리

도움말 센터File Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

질문:

2017년 7월 10일

댓글:

2017년 7월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by