Linear_Rand_Comb_Fixed_Sum
Versión 1.0.0 (1,42 KB) por
Biswanath Mahanty
A random integer row vector of specified length, elements are bounded by lower and upper limits, while elements add up a target value
This function generates a random integer row vector of specified length, where each element
is bounded by lower limit and upper limit, while adding up to a fixed sum.
% m - The specified target sum
% n - The length of desired row vector (i.e. the number of elements)
% ul - the upper limit of the values permitted in the desired vector
% ll - the lower limit of the values permitted in the desired vector
Citar como
Biswanath Mahanty (2026). Linear_Rand_Comb_Fixed_Sum (https://es.mathworks.com/matlabcentral/fileexchange/80533-linear_rand_comb_fixed_sum), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2020b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0 |
