Command:
getSA ( |
|
What:
Computes the sensitivity indices of model output variables according to the selected sampling method
Parameters:
numVar [integer] |
the number of output variables |
numFactors [integer] |
the number of input factors |
sa [structure SAValues] |
preallocated structure to store the sensitivity indices. Not necessary in Matlab, the result will be written in the system variable ans |
Warning:
If the number of outputs or the number of input factors declared in the command call is smaller than the true value in the configuration an error occur.
Return:
error_code [int]: 1 if the operation has occurred without errors, 0 if an error has occurred
Examples:
indices = getSA(1,4)
this command in Matlab
retrieves in the variable indices a structure containing the sensitivity indices according to the analysis method set.