Arysd - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

ArySD

The ArySD instruction calculates standard deviation of the elements of an array.
Instruction
ArySD
Array Element
Standard Deviation
Variables
Name
Meaning
In[] (array)
Array to
process
Size
Number of
elements
Out
Standard
deviation
* If you omit an input parameter, the default value is not applied. A building error will occur.
Bit strings
In[] (array)
Size
Out
Function
The ArySD instruction calculates the standard deviation of Size elements of array to process In[]
starting from In[0].
Standard deviation =
i: Subscript of In[], 0 to Size − 1
InM: Average value of In[0] to In[Size - 1]
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FUN
I/O
Description
Array to process
Input
Number of elements of In[]
for conversion
Output
Standard deviation
OK
2
Σ(In[i]-InM)
i
Size−1
Graphic expression
(@)ArySD
EN
ENO
In
Out
Size
Valid range
Depends on data type.
Depends on data type.
Integers
OK OK
OK OK
2 Instruction Descriptions
ST expression
Out:=ArySD(In, Size);
Unit
Default
*
---
2
---
---
Times, durations, dates,
and text strings
2
2-231

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents