[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.25 Suffixes for variable
Suffixes can get some numerical value (like its size, maximal or minimal value, the sum of elements and so on) of the data array in variable and use it later as usual number in command arguments. The suffixes start from point ‘.’ right after (without spaces) variable name or its sub-array. For example, a.nx
give the x-size of data a, b(1).max
give maximal value of second row of variable b, (c(:,0)^2).sum
give the sum of squares of elements in the first column of c and so on.
The full list of suffixes are:
- nx, ny, nz
Give the data size in x-, y-, z-direction correspondingly.
- max
Give maximal value of the data.
- min
Give minimal value of the data.
- sum
Give sum of data values.
- a
Give first value of data array.
- fst
Give first nonzero value of data array.
- lst
Give last nonzero value of data array.
- mx, my, mz
Give x-, y-, z-position of data maximum.
- ax, ay, az, aa
Give x-, y-, z-position of data mass center or average data value.
- wx, wy, wz, wa
Give width in x-, y-, z-direction or data dispersion value.
- sx, sy, sz, sa
Give skewness in x-, y-, z-direction or data skewness value.
- kx, ky, kz, ka
Give kurtosis in x-, y-, z-direction or data kurtosis value.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |