Winner Imre Polik (Shame n)

Darkness 2003-11-04 13:00:00 UTC
 
Twilight 2003-11-05 13:00:00 UTC
 
Daylight 2003-11-06 13:00:00 UTC
 
Finish 2003-11-11 13:00:00 UTC

MATLAB Golf: Palindrome - Comments

Search Comments

Go

Date Submission Comment
2003-11-04 14:51:44 UTC no loop !
by saad and pierre
circulant matrix. With minor modifications, it gives all maximal palyndrom with their lengths. Word a is supposed "circulant" ie a(-1) = a(length(a)) etc ...
by saad and pierre
2003-11-04 14:51:25 UTC cyclist_8
by cyclist
Not better, but different
by cyclist
2003-11-04 14:49:53 UTC wari #2+
by Lorenzo Luengo
very nice...
by Lorenzo Luengo
2003-11-04 14:40:15 UTC test_16
by Stijn Helsen
correction
by Stijn Helsen
2003-11-04 14:17:02 UTC Porps_again
by Porpeta
Let's see
by Porpeta
2003-11-04 14:16:02 UTC test_13
by Stijn Helsen
not short at all, but less loops (for the good old non-JIT Matlab).....
by Stijn Helsen
2003-11-04 14:12:48 UTC circulant matrix
by Pierre Bellec
another approach without loop.
by Pierre Bellec
2003-11-04 14:05:32 UTC 6th try!
by Mohsen Nosratinia
Just a trick to eliminate IF and simulate C's ?: expression
by Mohsen Nosratinia
2003-11-04 13:58:10 UTC test_12
by Stijn Helsen
testtest
by Stijn Helsen
2003-11-04 13:54:23 UTC AndreBAlzi
by Porpeta
vndms
by Porpeta
2003-11-04 13:51:04 UTC PPal2.1
by Joshua Korn
let it break...b already assigned
by Joshua Korn
2003-11-04 13:48:55 UTC imathief
by solidpeg
slight improvement over per's ppal2
by solidpeg
2003-11-04 13:48:37 UTC oneTmore
by Nikola Sprljan
few more
by Nikola Sprljan
2003-11-04 13:47:42 UTC more thourough
by fast eddy
more thourough
by fast eddy
2003-11-04 13:46:31 UTC PPal minor
by Nikola Sprljan
few twks
by Nikola Sprljan
2003-11-04 13:45:01 UTC PPal_mod
by Gerald Dalley
n=numel(a);
for i=1:n;
for j=1:n-i;
c=a(j:i+j);
if c==a(i+j:-1:j)
b=c;
end
end
end

by Gerald Dalley
2003-11-04 13:42:34 UTC fliplr PPal
by Nikola Sprljan
fliplr!
by Nikola Sprljan
2003-11-04 13:42:10 UTC cyclist_6
by cyclist
Learned numel command!
by cyclist
2003-11-04 13:42:00 UTC hopeful
by Jason Friedman
maybe this will work
by Jason Friedman
2003-11-04 13:37:08 UTC test_9
by Stijn Helsen
sorry
by Stijn Helsen
2003-11-04 13:33:54 UTC cycle 2.1
by Nikola Sprljan
sum tweek
by Nikola Sprljan
2003-11-04 13:33:24 UTC solid1
by solidpeg
too long but try anyway
by solidpeg
2003-11-04 13:33:12 UTC again2
by M M
minor modification
by M M
2003-11-04 13:29:58 UTC again
by M M
minor modification
by M M
2003-11-04 13:29:55 UTC test 1
by Martijn Visser
I know it's wrong but maybe it gets past the test suite
by Martijn Visser