Indoor Multi Propergation-室内多径信道建模


室内多径信道建模


在MATLAB官网最新更新中,增加了室内信道的模拟函数,comm.RayTracingChannel 函数。该函数主要模拟密闭空间中含有一个课桌对信号造成的反射折射散射路径。

函数使用需要下载matlab2022。可用于模拟OFDM信道,也可用于一般调制,tX与rx分别为室内收发点的位置,包括xyz坐标系定位,此外还能够设置路径个数等,官方调用案例如下所示,点赞自行取用:

在这里插入图片描述

clear all
close all
clc

mapFileName = "conferenceroom.stl";

tx = txsite("cartesian", ...
    "AntennaPosition",[-1.45; -1.4; 2.3], ...
    "TransmitterFrequency",2.8e9);
rx = rxsite("cartesian", ...
    "AntennaPosition",[.6; .2; 1.0]);
%Use the siteviewer object and the show object function to visualize the 3-D scenario. The transmitter and receiver sites are colored in red and blue, respectively.

siteviewer(SceneModel=mapFileName);
show(tx,"ShowAntennaHeight",false);
show(rx,"ShowAntennaHeight",false);
%Create a ray tracing propagation model with up to three reflections using the shooting-bouncing-rays (SBR) method. Perform ray tracing to find rays by using the propagation model.

pm = propagationModel("raytracing", ...
    "CoordinateSystem","cartesian", ...
    "Method","sbr", ...
    "MaxNumReflections",3);
rays = raytrace(tx,rx,pm,"Map",mapFileName);
%Extract the computed rays from the returned cell array, and then plot the rays. Each ray is colored based on its path loss value.

rays = rays{1,1};
plot(rays)

  • 4
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值