nim sum

Versione 1.0.0.0 (1,42 KB) da Apoio
function that computes the nim sum
234 download
Aggiornato 17 mag 2012

Visualizza la licenza

% nimsum(a,b) returns the nim sum of a and b
% nimsum(V) returns the nim sum of the elements of V
% nimsum(M) returns a vector with the nim sums of the columns of M
% nimsum(V,a) returns a vector with the nim sums of V(i) and a
% nimsum(a,V) returns a vector with the nim sums of a and V(i)
% nimsum(M,a) returns a matrix with the nim sums of M(i,j) and a
% nimsum(a,M) returns a matrix with the nim sums of a and M(i,j)
% nimsum(V,W) returns a vector with the nim sums of V(i) and W(i)
% nimsum(M,N) returns a matrix with the nim sums of M(i,j) and N(i,j)

Cita come

Apoio (2024). nim sum (https://www.mathworks.com/matlabcentral/fileexchange/36750-nim-sum), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2010b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Number games in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0