Skip to content

Commit 511c3f2

Browse files
committed
commit to examples
1 parent 7c86a35 commit 511c3f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/example2.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
% Simulation parameters
77
samples = 1000; % number of points for 1D field
8-
realmodes = false; % use real modes (or gaussian approximation)
8+
realmodes = true; % use real modes (or gaussian approximation)
99

1010
% Use default AWG model
1111
AWG = MakeAWG(193.5);

examples/example3.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
%--------------------------------------------------------------------------
44
clc; clear; close all;
55

6-
% Default AWG model with 3 inputs at a pitch of 20µm offsetted by +10µm
6+
% Default AWG model
77
AWG = MakeAWG(193.5);
88

99
% Simulation parameters
1010
bandwidth = 70; % simulation bandwidth [nm]
11-
samples = 100; % wavelength sample points
11+
samples = 500; % wavelength sample points
1212

1313
% Simulate device over bandwidth
1414
[wl,P] = awg_Spectrum(AWG, bandwidth*1e-3, samples, ...

0 commit comments

Comments
 (0)