Multichannel-systems NeuroExplorer Bedienungsanleitung Seite 261

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 373
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 260
5.5.8.31. LinearCombinationOfContVars Function
LinearCombinationOfContVars Function
Calculates a linear combination of two continuous variables.
Syntax
LinearCombinationOfContVars(doc, resultName, contVar1, coeff1, contVar2, coeff2)
Parameters
Parameter Type Description
doc documentReference Reference to the document.
resultName string The name of the result.
contVar1 variableReference Reference to the first continuous variable.
coeff1 double Coefficient for the first continuous variable
contVar2 variableReference Reference to the second continuous variable.
coeff2 double Coefficient for the second continuous variable
Returns
None
Comments
This function calculates a linear combination of two continuous variables. The values of the resulting
variable are:
contVar1_value*coeff1 + contVar2_value*coeff2
Usage
NexScript
doc = GetActiveDocument()
% calculate average of contVar1 and contVar2
LinearCombinationOfContVars(doc, "average", doc.contVar1, 0.5, doc.contVar2, 0.5)
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 259
Seitenansicht 260
1 2 ... 256 257 258 259 260 261 262 263 264 265 266 ... 372 373

Kommentare zu diesen Handbüchern

Keine Kommentare