科迪

mec

7474
Rank
2
Badges
350
Score
1 – 41 of 41

mecsubmitted aCommenttoSolution 695673

No need to apply loop here, m=[1:n]'*[1:n] works fine. function m = timestables(n) m=(1:n)'*(1:n); end

on 12 Oct 2015

mecsubmitted aCommenttoSolution 726292

This one works on matlab but not here function a = checkerboard(n) theta=pi/2:pi/2:n*pi/2; a = (sin(theta)'*sin(theta))+cos(theta)'*cos(theta); end

on 10 Oct 2015

mecreceivedCommenterbadge forProblem 4. Make a checkerboard matrix

on 10 Oct 2015

mecsubmitted aCommenttoProblem 4. Make a checkerboard matrix

This solution works on matlab but not here. function a = checkerboard(n) theta=pi/2:pi/2:n*pi/2; a = (sin(theta)'*sin(theta))+cos(theta)'*cos(theta); end

on 10 Oct 2015

mecsubmittedSolution 757748toProblem 167. Pizza!

on 10 Oct 2015

mecsubmittedSolution 757744toProblem 167. Pizza!

on 10 Oct 2015

mecsubmittedSolution 757724toProblem 167. Pizza!

on 10 Oct 2015

mecreceivedSolverbadge forSolution 756518

on 8 Oct 2015

1 – 41 of 41