Current density, returned as a real number, a column vector, or a function handle.
Use a function handle to specify a current density that depends on the
coordinates.
For magnetostatic analysis, the current density must be a real number for a 2-D
model, a column vector of three elements for a 3-D model, or a function handle for a 2-D
or 3-D model.
For harmonic analysis with the electric field type, the current density must be a
column vector of two elements for a 2-D model, a column vector of three elements for a
3-D model, or a function handle for a 2-D or 3-D model. The toolbox multiplies the
specified current density value by -i
and by frequency.
For harmonic analysis with the magnetic field type, the current density must be a
scalar for a 2-D model, a column vector of three elements for a 3-D model, or a function
handle for a 2-D or 3-D model. The toolbox uses the curl of the specified current
density.
Data Types: double
| function_handle