capacitor
Capacitor object
Description
Use the capacitor
class to create a capacitor object that
you can add to an existing circuit.
Creation
Description
cobj = capacitor(cvalue)
creates a capacitor object,
cobj
, with a capacitance of cvalue
and default name, C
. cvalue
must be a
non-negative scalar.
cobj = capacitor(cvalue,cname)
creates a capacitor
object, cobj
, with a capacitance of
cvalue
and name cname
.
cname
must be a character vector.
Properties
Object Functions
clone | Create copy of existing circuit element or circuit object |
Examples
Version History
Introduced in R2013b