Scilab 5.5.2
- Справка Scilab
- Matlab to Scilab Conversion Tips
- Matlab-Scilab equivalents
- R
- rand (Matlab function)
- randn (Matlab function)
- randperm (Matlab function)
- rcond (Matlab function)
- real (Matlab function)
- realmax (Matlab function)
- realmin (Matlab function)
- rem (Matlab function)
- repmat (Matlab function)
- reshape (Matlab function)
- return (Matlab function)
- round (Matlab function)
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
randperm (Matlab function)
Uniformly distributed random numbers and arrays
Matlab/Scilab equivalent
Matlab | Scilab |
randperm(n) ; randperm(n ,k) |
Description
Matlab's randperm(n) is equivalent to grand(1, "prm", (1:n)')' in Scilab.
randperm(n, k) corresponds to the k first elements of the above command, so the equivalent is stored in v(1:k), if v = grand(1, "prm", (1:n)')'.
Report an issue | ||
<< randn (Matlab function) | R | rcond (Matlab function) >> |