|
|
|
|
- Finding out the minimum value for a series of values
Finding out the minimum value for a series of values The following code is used to find out the minimum value of the elements in row 3. We assume that the matrix is already created and initialized. // -- Click code on BTN_Min // Declare the variables ResMin is real // Minimum value of elements in row 3 ResMin = StatMin("MyMatrix", 3, False) // Error on StatMin? IF StatError() = 0 THEN // Display the result Info("The minimum value is: " + ResMin) ELSE // Display the error message Error(ErrorInfo(errMessage)) END
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|