HOW TO GET DATA (imaginary) FROM FREQUENCY RANGES

조회 수: 1 (최근 30일)
sagrario dominguez
sagrario dominguez 2016년 1월 8일
답변: sagrario dominguez 2016년 1월 19일
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
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
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).

추가 답변 (2개)

sagrario dominguez
sagrario dominguez 2016년 1월 18일
My complex data are the result of the measurements done with the Vector Network Analyzer 4395A: any of the scattering parametters which characterize one device. The Vector Network Analyzer 4395A works (in my case) in the "SWEEP LIST MODE", that is, there may be several frequency ranges, and several frequency points at each range. The attached table could be the display of one of my setups.
Here segment is either of the frequency ranges. START, STOP are the start and stop measurements frequencies, POINT is the nubmer of points at each range. And POWE and BW are the power and bandwith used for measuring
I can get the list of my data on the instrument display/screen, via MATLAB. But I can't manage to get these values in the command window.
Thanks for the suggestion, although I do not know yet how to use fft fft function in this case
  댓글 수: 1
Star Strider
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'

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


sagrario dominguez
sagrario dominguez 2016년 1월 19일
I am also making use of the programming manual of the VNA 4395A network analyzer

카테고리

Help CenterFile 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!

Translated by