登录论坛

查看完整版本 : 請問有人知道如何畫802.11b 11Mkbps 的BER理論圖嗎


laq
2008-12-12, 07:11
大家好

想請教一下大家

我想畫出802.11b用CCK modulaiton的理論值 Matlab 有1 和2Mkbps的 但沒有5.5和11Mkbps的
想請問一下有人知道如何畫出嗎

我寫的程式 但是一值出現錯誤 有人知道為啥會出現這樣錯誤嗎? 感謝


程式:

N = 4;
syms y v;
EbNo_5_5M=EbNo+3;
for i =1:1:EbNoMax-EbNoMin+1
EbNoLin(i)= 10.^(EbNo_5_5M(i)/10);
X(i)=sqrt(2*EbNoLin(i));
Q1=int(((exp(-(y^2)/2))^((N/2)-1))*exp(-(v^2)/2),y,X(i)-v,v+X(i));
ber(i)=1-int(Q1,v,-X(i), +inf);
end


錯誤:
The following error occurred converting from sym to double:
Interrupt

Error in ==> WiFi_Thero at 35
ber(i)=1-int(Q1,v,-X(i), +inf);