Functions | |
endif | if (nargin< 2) p |
if (isempty(dim)) dim | |
!assert (q, qa) | |
!assert (q, qa, tol) | |
!x (5, 5) | |
!x (1, 1) | |
!x (3, 3) | |
Variables | |
function | q |
else | dim = find (size(v) != 1) |
endif endif endif | p = 0.01 * p |
method = 5 | |
endfunction!test | !pct = 50 |
!q = prctile (1:4, pct, 1) | |
!qa = [1, 2, 3, 4] | |
!x | |
!tol = 0.0001 |
!assert | ( | q | , | |
qa | , | |||
tol | ||||
) |
!assert | ( | q | , | |
qa | ||||
) |
!x | ( | 3 | , | |
3 | ||||
) |
!x | ( | 1 | , | |
1 | ||||
) |
!x | ( | 5 | , | |
5 | ||||
) |
if | ( | isempty(dim) | ) |
endif if | ( | ) |
!test !pct = 50 |
!q = prctile (1:4, pct, 1) |
!qa = [1, 2, 3, 4] |
!tol = 0.0001 |
!x |
Initial value:
[0.1126, 0.1148, 0.0521, 0.2364, 0.1393 %! 0.1718, 0.7273, 0.2041, 0.4531, 0.1585 %! 0.2795, 0.7978, 0.3296, 0.5567, 0.7307 %! 0.4288, 0.8753, 0.6477, 0.6287, 0.8165 %! 0.9331, 0.9312, 0.9635, 0.7796, 0.8461]
method = 5 |