UnCroissant - MATLAB Cody - MATLAB Central

UnCroissant

11982
Rank
3
Badges
440
Score
1 – 50 of 56

UnCroissant submitted a Comment to Solution 1147941

sort(x) will always return a increasing vector. So all(diff(sort(x)))>0 is always true, if x has just unique elements. try all((diff(x))>0)

on 21 May 2017

UnCroissant liked Solution 571464

on 8 May 2017

UnCroissant submitted a Comment to Solution 1183475

Interesting. If you leave the 'ComparisonMethod','abs' it's still correct (size is 13). Though, I believe this is the shortest, universally correct solution.

on 8 May 2017

UnCroissant submitted a Comment to Problem 11. Back and Forth Rows

Really enjoyed this one.

on 7 May 2017

UnCroissant received Commenter badge for Problem 11. Back and Forth Rows

on 7 May 2017

UnCroissant liked Solution 237221

on 7 May 2017

UnCroissant received Promoter badge for Problem 11. Back and Forth Rows

on 7 May 2017

UnCroissant submitted Solution 1168338 to Problem 167. Pizza!

on 23 Apr 2017

1 – 50 of 56
Go to top of page