Recent content by moljka
-
M
MATLAB Writing MATLAB Program to Construct D and Count Ones for N=100
hello, The MATLAB guide contains an example magic squairs algorithm: "The logic of the magic squares algorithm can also be described by: switch (rem(n,4)==0) + (rem(n,2)==0) case 0 M = odd_magic(n) case 1 M = single_even_magic(n) case 2 M = double_even_magic(n) otherwise...- moljka
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
MATLAB Writing MATLAB Program to Construct D and Count Ones for N=100
Hello, I need help with the following: "Let D be an N×N matrix. The element d[SIZE="1"]ij (i=1,…,N;j=1,…,N) of D is 1 if the sum of all the elements of the Pascal matrix of order i equals the sum of all the elements of Magic matrix of order j, and 0 otherwise. Write a Matlab programme...- moljka
- Thread
- Matlab Programming
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX