Cody

kifah alzoubi

6710
Rank
2
Badges
210
Score
1 – 21 of 21

kifah alzoubi submitted a Comment to Solution 1094385

function b = sumDigits(n) %SUMDIGITS Given n, find the sum of the digits that make up 2^n in=num2str(2^n); b=sum(str2num(in(:))); end

on 29 Dec 2016

kifah alzoubi received Commenter badge for Solution 1094380

on 29 Dec 2016

kifah alzoubi submitted a Comment to Solution 1094380

function [B] = swap_ends(A) %SWAP_ENDS Solution 19: Swap the first and last columns if length(A)>1 B=cat(2,A(:,length(A)),A(:,2:length(A)-1),A(:,1)); else B=A; end end

on 29 Dec 2016

kifah alzoubi received Solver badge for Solution 1094043

on 29 Dec 2016

1 – 21 of 21