HOW TO GET DATA (imaginary) FROM FREQUENCY RANGES
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
sagrario dominguez
le 8 Jan 2016
Réponse apportée : sagrario dominguez
le 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 commentaire
Image Analyst
le 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
Réponse acceptée
Star Strider
le 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 commentaires
Plus de réponses (2)
sagrario dominguez
le 18 Jan 2016
1 commentaire
Star Strider
le 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'
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!