Cody

Joe Smith

Rank
1350
Score
51 – 100 of 145
 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 on 1 Jun 2016 Joe Smith submitted a Comment to Solution 899985 I get the right answer for this using this code.... --- function b = makingChange(a) change = [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01]; for i = 1:(length(change)-1) b(i) = floor(a/change(i)); a = a - b(i)*change(i); end b(12) = a/change(12); end --- But it tells me I'm getting them all wrong. Not sure why. on 1 Jun 2016 on 1 Jun 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 Joe Smith submitted a Comment to Solution 899430 There is a pre-made function for this. y = ismember(a,b) on 31 May 2016 on 31 May 2016 on 31 May 2016 Joe Smith submitted a Comment to Solution 899402 Their is a function for this already. iscolumn(x) on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 31 May 2016 on 30 May 2016 on 30 May 2016 on 30 May 2016 on 30 May 2016 on 30 May 2016
51 – 100 of 145