Cody

ren yi xin ren

1788
Rank
2
Badges
670
Score
1 – 50 of 74

ren yi xin ren submitted Solution 2093313 to Problem 147. Too mean-spirited

on 15 Jan 2020 at 3:33

ren yi xin ren submitted Solution 2090538 to Problem 34. Binary numbers

on 13 Jan 2020 at 1:25

ren yi xin ren submitted Solution 2090515 to Problem 174. Roll the Dice!

on 13 Jan 2020 at 1:02

ren yi xin ren submitted Solution 2089311 to Problem 18. Bullseye Matrix

on 12 Jan 2020 at 2:31

ren yi xin ren submitted Solution 2089310 to Problem 18. Bullseye Matrix

on 12 Jan 2020 at 2:20

ren yi xin ren submitted Solution 2088741 to Problem 27. Pangrams!

on 11 Jan 2020 at 6:57

ren yi xin ren submitted Solution 2088735 to Problem 27. Pangrams!

on 11 Jan 2020 at 6:49

ren yi xin ren received Commenter badge for Problem 41. Cell joiner

on 11 Jan 2020 at 3:24

ren yi xin ren submitted a Comment to Problem 41. Cell joiner

function out_str=cellstr_joiner(in_cell, delim) L=strlength(in_cell); n=length(L); summ=L(1); m=length(delim); for k=2:n-1 L(k)=summ+L(k); summ=L(k); end L(end)=[]; out_str=cell2mat(in_cell); for i=1:length(L) out_str=strcat(out_str(1:L(i)),abs(delim),out_str(L(i)+1:end)); L=L+m; end end who can tell me why my code is wrong.thank you

on 11 Jan 2020 at 3:24

1 – 50 of 74