File: SetSinusExcite.m

package info (click to toggle)
openems 0.0.35+dfsg.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,288 kB
  • sloc: cpp: 40,259; yacc: 580; lex: 350; makefile: 258; sh: 169; ruby: 19
file content (14 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function FDTD = SetSinusExcite(FDTD,f0)
% function FDTD = SetSinusExcite(FDTD,f0)
%
% see also SetGaussExcite SetCustomExcite
%
% e.g FDTD = SetSinusExcite(FDTD,1e9);
%
% openEMS matlab interface
% -----------------------
% author: Thorsten Liebig

FDTD.Excitation.ATTRIBUTE.Type=1;
FDTD.Excitation.ATTRIBUTE.f0=f0;
FDTD.ATTRIBUTE.f_max=f0;