nim sum

Version 1.0.0.0 (1,42 KB) von Apoio
function that computes the nim sum
234 Downloads
Aktualisiert 17. Mai 2012

Lizenz anzeigen

% 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)

Zitieren als

Apoio (2025). nim sum (https://de.mathworks.com/matlabcentral/fileexchange/36750-nim-sum), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2010b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Number games finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0