Jon Agustsson - MATLAB Cody - MATLAB Central

Jon Agustsson

10221
Rank
4
Badges
540
Score
1 – 50 of 74

Jon Agustsson received Leader badge for Solution 103465

on 27 Dec 2022

Jon Agustsson received Renowned badge for Solution 103476

on 7 Dec 2016

Jon Agustsson submitted a Comment to Solution 133859

It is funny that this feval(@eval, '[~, ans] = max(x==y);') has smaller size than this [~, ans] = max(x==y);

on 6 Sep 2012

Jon Agustsson submitted a Comment to Solution 4286

Strange I can not delete my first comment. I wanted to format it a bit nicer :)

on 6 Jul 2012

Jon Agustsson received Commenter badge for Solution 4286

on 6 Jul 2012

Jon Agustsson submitted a Comment to Solution 4286

Nice indeed. I am surprised that it is more efficient to solve this with a recursive function than a while loop. This solution has size 43: while n(end) > 1 n = [n mod(n(end),2)*(n(end)*2.5+1) + n(end)/2]; end Is the loop overhead greater than the recursion overhead? Or is the weak point having to go to n(end) at each iteration?

on 6 Jul 2012

Jon Agustsson submitted Solution 104066 to Problem 167. Pizza!

on 28 Jun 2012

1 – 50 of 74
Go to top of page