How can i plot frequency response from 25000 time domain Data?
이전 댓글 표시
Hello every body, I have near 25000 time domain data, they are from a idustrial plant, I have both input and output data. I want plot frequency response by using this time domain data, please help me how it is possible? Thanks alot.
댓글 수: 6
dpb
2015년 3월 19일
What's your end objective? When one has to ask the question, I suggest need some background first...
A list of references using Matlab for illustrative purposes is at System Identification Bookss; it appears the 2nd and 3rd would likely be apropos to your query as likely are several others...
mostafa
2015년 3월 19일
If you've already sampled at 25 second intervals, you have no valid frequency content above 0.02 Hz by the Nyquist sampling theorem (you do know what that is, at least, I hope?) The problem in determining a "best" sampling time is that you've got to ensure you've sample at a rate at least greater than twice the maximum frequency content possibly of interest. And, of course, you need to ensure that there isn't frequency content above that in the sampled data that is being aliased into that sampling range and that if so, is absolutely not removable by any means whatsoever once the data have been sampled.
I'm reluctant to suggest you just blindly apply FFT techniques to these data until you have a better understanding of the problems; the consequences of doing so are potentially too serious.
Is this an academic or commercial exercise? If academic consult your advisor, if commercial is there some access to consultant in the area you can confer with? This is a Matlab programming forum, not a consulting service, unfortunately.
mostafa
2015년 3월 20일
I think you're barking up the wrong tree first here; you need to learn something about signal processing and data collection basics first to ensure your data have any meaning before just applying tools. Perhaps the reason the results aren't what you expect is that the data aren't any good...
But, to see what frequency content is contained in the sampled data, there's a very good, concise example of an amplitude spectrum computed via the fft at
doc fft
The Signal Processing toolbox also has the function tfestimate for transfer function estimation and the spectrum function which has multitude of options for estimating spectra.
Again, however, unless there's something actually in the dataset you've collected, none of these can fix corrupted data obtained without adequate protection during that process, whatever it was.
mostafa
2015년 3월 21일
답변 (1개)
Image Analyst
2015년 3월 20일
0 개 추천
Look up pwelch() in the Signal Processing Toolbox: http://www.mathworks.com/products/signal/features.html#spectral-analysis
카테고리
도움말 센터 및 File Exchange에서 Bartlett에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!