Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: c70be67ba5
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (6 sloc) 0.245 kB
function ans = find_palindrome(ans)
while dot(sprintf('0%d0',ans), sign(linspace(-1,1,numel(sprintf('0%d0',ans)))));
% ans + str2double(fliplr(num2str(ans)));
ans + base2dec(fliplr(dec2base(ans,10)),10);
end
end
Jump to Line
Something went wrong with that request. Please try again.