Cody

# yile

Rank
Badges
##### 150
Score
1 – 17 of 17
 Does anyone know why this is not working? The code looks chunky, but it should work. Thanks!! string1 = ['tf is true']; string2 = ['tf is false']; tf = diff(x); w = numel(find(tf==0)) + numel(find(tf<0)); if w > 0 disp(string2) else disp(string1) end on 6 Apr 2012 on 29 Feb 2012 on 28 Feb 2012 on 28 Feb 2012 yile submitted Solution 48694 to Problem 167. Pizza! on 22 Feb 2012 on 22 Feb 2012 on 22 Feb 2012 yile received Commenter badge for Solution 4096 on 22 Feb 2012 yile submitted a Comment to Solution 4096 You can't just do B = A(:,[end,1])...this would end up two columns if A has only one column. You should do A(:,[1,end]) = A(:,[end,1])) and then B = A on 22 Feb 2012 yile submitted Solution 48018 to Problem 7. Column Removal on 22 Feb 2012 on 22 Feb 2012 on 22 Feb 2012 on 22 Feb 2012 on 21 Feb 2012 yile submitted Solution 47899 to Problem 8. Add two numbers on 21 Feb 2012 on 21 Feb 2012 yile received Solver badge for Solution 47887 on 21 Feb 2012
1 – 17 of 17