欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 人工智能 > 循环神经网络 >内容正文

循环神经网络

bpsk在瑞利信道matlab,请教BPSK在瑞利信道下的误码率仿真

发布时间:2024/8/1 循环神经网络 47 豆豆
生活随笔 收集整理的这篇文章主要介绍了 bpsk在瑞利信道matlab,请教BPSK在瑞利信道下的误码率仿真 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

请教BPSK在瑞利信道下的误码率仿真? 我这两天刚学用Matlab进行通信仿真,下面是我建立的仿真模型及代码,还有运行时的出错分析,请问我错在哪里?可以帮帮我吗?国庆收假要交作业了.我摸索了好久都解成功不了. 这是我建立的仿真模型,在附件. 这是为仿真模型写的M文件 %设置调制信号的抽样间隔 xSampleTime=1/100000; %设置仿真时间的长度 xSimulationTime=10; %设置随机数产生器的初始化种子 xInitialSeed=[61 71]; %设置BPSK调制的始相位 xPhaseOffset=0; %x表示信噪比的取值范围 x=0:10; %y表示BPSK调制的误符号率 y=x; hold off; xReceiveDelay=0; color='r'; for i=1:length(x) %信噪比依次取向量x的数值 xSNR=x(i); %执行BPSK仿真模型 sim('BPSK_Ray_ErrorRate'); %xErrorRate中获得调制信号的误码率 y(i)=xErrorRate(1); end %绘制信噪比与误码率的关系曲线 semilogy(x,y,color); hold on; 下面是出错分析: Warning: The model 'BPSK_Ray_ErrorRate' does not have continuous states, hence using the solver 'FixedStepDiscrete' instead of solver 'ode3'. You can disable this diagnostic by explicitly specifying a discrete solver in the solver tab of the Configuration Parameters dialog, or setting 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics tab of the Configuration Parameters dialog. > In BPSK_Ray_ErrorRatemain at 23 ??? Error using ==> sim Cannot propagate non-frame data from output port 1 of 'BPSK_Ray_ErrorRate/Multipath Rayleigh Fading Channel/In' to input port 1 of 'BPSK_Ray_ErrorRate/Multipath Rayleigh Fading Channel/Channel Filter' because this input port expects frame data; consider inserting a Buffer. Error in ==> BPSK_Ray_ErrorRatemain at 23 sim('BPSK_Ray_ErrorRate');

2008-10-4 13:47 上传

点击文件名下载附件

5.51 KB, 下载次数: 24905

总结

以上是生活随笔为你收集整理的bpsk在瑞利信道matlab,请教BPSK在瑞利信道下的误码率仿真的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。