ENERGY – [POWER]
Outputs the energy corresponding to an input voltage and current.
CATEGORY
Miscellaneous
DESCRIPTION
Outputs the energy corresponding to an input voltage Signal_V and current Signal_I. The energy is given by:
RESULT VARIABLES AND PARAMETERS
Result | Energy (W.s / J) |
Signal_V | Input voltage |
Signal_I | Input current |
SYNTAX
res = energy(Signal_V,Signal_I)
CHARACTERISTICS
Data type support
Double Floating point
EXAMPLE
Following figures are examples of Signal_V, Signal_I and calculated energy(V,I) based on two input signals.