I am plotting optical Gaussian pulse. I have written the following code but not getting answer
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
P0_dBm = -5; % in dBm P0_watt = 10^((P0_dBm-30)/10); % in watt FWHM = 0.4*1e-9; %in nanometer sigma = FWHM/(2*sqrt(2*log(2))); mu = 0; Amp = sqrt(P0_watt); x = -10:0.1:10; G_pulse =(1/sqrt(2*pi*(sigma)^2))*exp(-(x-mu).^2./(2*(sigma)^2));%%gaussian pulse pulse= G_pulse/max(G_pulse); plot(x,pulse);
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Array Geometries and Analysis in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!