nim sum

版本 1.0.0.0 (1.4 KB) 作者: Apoio
function that computes the nim sum
234.0 次下载
更新时间 2012/5/17

查看许可证

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

引用格式

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

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Number games 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0