HOW TO GET DATA (imaginary) FROM FREQUENCY RANGES
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello everybody I am trying to get data points from a trace. Each point (Y axis) corresponds to a different frequency (X axis). I know the number of points, and the start and end frequencies of each range. But there are two or more frequency ranges. The delta of frequency is different from one range to another. So
Does anyone know how to do it, please?
댓글 수: 1
Image Analyst
2016년 1월 9일
What form is your input data in? A text file? An Excel workbook? Some picture printed in a paper journal? A CSV file? sagrario, you need to supply more info - we need something to go on if we are to help you. http://www.mathworks.com/matlabcentral/answers/728-how-do-i-write-a-good-question-for-matlab-answers
채택된 답변
Star Strider
2016년 1월 8일
If you need to read data from an Excel spreadsheet, use the xlsread function. As for plotting them, see the documentation for the fft function (even if the data you have is already in the frequency domain, the plot documentation there will be helpful).
댓글 수: 0
추가 답변 (2개)
sagrario dominguez
2016년 1월 18일
댓글 수: 1
Star Strider
2016년 1월 18일
There is essentially nothing in that file. The ‘raw’ output (the third output of xlsread) is:
[d,s,r] = xlsread('sagrario dominguez DISPLAY.xls');
r =
Columns 1 through 5
'Possible display …' [ NaN] [ NaN] [ NaN] [ NaN]
[ NaN] [ NaN] [ NaN] [ NaN] [ NaN]
'segment ' 'START ' 'STOP' ' POIN ' 'POWER'
[ NaN] [ NaN] [ NaN] [ NaN] [ NaN]
[ 1.0000e+000] '100 KHz ' ' 1MHz ' [10.0000e+000] '0dBm'
[ 2.0000e+000] '2 MHz' '20MHz' [10.0000e+000] '0dBm'
Column 6
[ NaN]
[ NaN]
'IFBW '
[ NaN]
'10Hz'
'10Hz'
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!