Info
此问题已关闭。 请重新打开它进行编辑或回答。
hi there are few error in my code. kindly fix them i am a newbie.
1 次查看(过去 30 天)
显示 更早的评论
clc;
close all;
clear all;
%%
segma_N = 10.^-7;
p_db = 0:1:30; %power
p = 10.^(p_db./10);
R = 0.5; %Optoelectronic conversion factor
%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%I = 1; %linspace(0,100,length(p));
AP = @(I)((0.5)*erfc((p.*R.*I)./segma_N)*FI_I(I));
P_e = integral(AP,0,100);
semilogy(p,P_e);
%po = 0.5*erfc((p.*R.*I)/segma_N)*(1.3604e+162);
% P_e = integral(@(I) po(I),0,500);
% semilogy(p,P_e);
hold on
axis([0 30 10^-5 0.5])
grid on
1 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!