Cody

Raymond MacNeil

2125
Rank
5
Badges
740
Score
51 – 84 of 84

Raymond MacNeil submitted a Comment to Solution 2026266

whoops, don't know how I managed to confuse .^ with .* for a bit there ---I was like, "What's WRONG?"

on 18 Nov 2019

Raymond MacNeil submitted a Comment to Solution 1877827

out = any(ismember(a.*a, a))

on 18 Nov 2019

Raymond MacNeil submitted a Comment to Solution 1985237

Only need: out = x([1 end]) This is legal even if length(x) == 1, because in that case, x(1) == x(end)

on 18 Nov 2019

Raymond MacNeil received Commenter badge for Solution 2026148

on 18 Nov 2019

Raymond MacNeil submitted a Comment to Solution 2026148

Well, I guess my understanding that string is defined using (" " , i.e. double quotations) is incorrect. I thought class string was formally distinguished from char (defined using ' ', i.e. single quotes). I should have looked at the test-suite.

on 18 Nov 2019

Raymond MacNeil received Solver badge for Solution 2020794

on 14 Nov 2019

51 – 84 of 84