Documentation Home Page HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

SUM – [SUM]
Outputs the sum of all samples of input.


CATEGORY

Mathematical

DESCRIPTION
Outputs the sum of all samples of input.


RESULT VARIABLES AND PARAMETERS

ResultSum of input
SignalInput


SYNTAX

res=sum(input)


CHARACTERISTICS
Data type support
Double Floating point

EXAMPLE
For an input of value 1 acquired over a duration of 0.1 second at a sampling rate of 10000 Hz, the SUM function outputs the total sum of one thousand ones i.e. 1000.

  • No labels