Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

hi there are few error in my code. kindly fix them i am a newbie.

1 Ansicht (letzte 30 Tage)
rana zain
rana zain am 31 Aug. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by