HOW TO GET DATA (imaginary) FROM FREQUENCY RANGES
3 views (last 30 days)
Show older comments
sagrario dominguez
on 8 Jan 2016
Answered: sagrario dominguez
on 19 Jan 2016
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 Comment
Image Analyst
on 9 Jan 2016
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
Accepted Answer
Star Strider
on 8 Jan 2016
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 Comments
More Answers (2)
sagrario dominguez
on 18 Jan 2016
1 Comment
Star Strider
on 18 Jan 2016
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'
See Also
Categories
Find more on Multichannel Audio Input and Output in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!