summaryrefslogtreecommitdiff
path: root/openEMS/matlab/physical_constants.m
diff options
context:
space:
mode:
Diffstat (limited to 'openEMS/matlab/physical_constants.m')
-rw-r--r--openEMS/matlab/physical_constants.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/openEMS/matlab/physical_constants.m b/openEMS/matlab/physical_constants.m
new file mode 100644
index 0000000..cbb333e
--- /dev/null
+++ b/openEMS/matlab/physical_constants.m
@@ -0,0 +1,12 @@
+%
+% physical constants
+%
+
+% Bronstein 3rd ed., 1997, pp. 945-946
+C0 = 299792458; % m/s
+c0 = C0; %constans in capital letters, c0 for legacy support
+MUE0 = 4e-7*pi; % N/A^2
+EPS0 = 1/(MUE0*C0^2); % F/m
+
+% free space wave impedance
+Z0 = sqrt(MUE0/EPS0); % Ohm