网页资讯视频图片知道文库贴吧地图采购
进入贴吧全吧搜索

 
 
 
日一二三四五六
       
       
       
       
       
       

签到排名:今日本吧第个签到,

本吧因你更精彩,明天继续来努力!

本吧签到人数:0

一键签到
成为超级会员,使用一键签到
一键签到
本月漏签0次!
0
成为超级会员,赠送8张补签卡
如何使用?
点击日历上漏签日期,即可进行补签。
连续签到:天  累计签到:天
0
超级会员单次开通12个月以上,赠送连续签到卡3张
使用连续签到卡
07月27日漏签0天
matlab吧 关注:291,856贴子:1,658,355
  • 看贴

  • 图片

  • 吧主推荐

  • 游戏

  • 6回复贴,共1页
<<返回matlab吧
>0< 加载中...

使用Matlab分析频谱仪I/Q数据

  • 只看楼主
  • 收藏

  • 回复
  • wylloong
  • 仗剑天涯
    3
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
我在实习期间负责Matlab处理频谱仪的I/Q数据,由于专业知识不对口走了很多弯路,不过现在已经搞定了,现在把基本思路分享给大家!


  • wylloong
  • 仗剑天涯
    3
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
Matlab is an excellent tool to use when analyzing sampled signals in ways that the various Real-Time Spectrum Analyzer models do not currently support. This document is intended to be used by users who are familiar with Matlab, but need to “bridge the gap” between the data format produced by the RTSA and their analysis software.
This document is a work in progress. Currently, the topics covered are:
n Importing IQ data which is saved as a . MAT file from the RSA6100 or RSA3000
n Using the correct calculation for power in both time and frequency domains
Importing I/Q samples into Matlab
The RTSA can save samples in multiple formats, including .MAT. This .MAT file format includes the I and Q samples and enough information for Matlab to import the data and various other ancillary parameters easily. The file format is intended to be suitable for importing into the Agilent 89600 software.
To import the .MAT file (in this case “reference.mat”), use the “load” command:
>> load reference.mat
You can also find out what variables are in the .mat files (which ones will be assigned when the load command is used) with “whos -file”:
>> whos -file reference.mat
Name Size Bytes Class Attributes
InputCenter 1x1 8 double
InputZoom 1x1 1 uint8
XDelta 1x1 8 double
Y 6966x1 55728 single complex
For now, we’ll be mostly concerned with Y, the actual I/Q samples. As “whos” shows, this is a single-dimensioned array of complex values. The Real part of each value is I and the Imaginary part is Q. The other values in the file are:
n InputCenter: The center frequency of the acquisition band.
n InputZoom: A flag. Indicating that the I/Q samples have been converted to baseband (“Zoomed”).
n XDelta: The sample period. SamplingRate = 1/XDelta.


2025-07-27 22:12:29
广告
不感兴趣
开通SVIP免广告
  • wylloong
  • 仗剑天涯
    3
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼


  • wylloong
  • 仗剑天涯
    3
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
ASK解调后与频谱仪对比图:


  • wylloong
  • 仗剑天涯
    3
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
FSK解调后与频谱仪对比图:


  • 凉水泡的咖啡
  • 初涉江湖
    1
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
请问有具体的代码嘛?


登录百度账号

扫二维码下载贴吧客户端

下载贴吧APP
看高清直播、视频!
  • 贴吧页面意见反馈
  • 违规贴吧举报反馈通道
  • 贴吧违规信息处理公示
  • 6回复贴,共1页
<<返回matlab吧
分享到:
©2025 Baidu贴吧协议|隐私政策|吧主制度|意见反馈|网络谣言警示