Cody

Lesandu Wenitha Sugathadasa

961
Rank
7
Badges
1228
Score
1 – 50 of 128

Lesandu Wenitha Sugathadasa submitted a Comment to Problem 1699. Find last zero for each column

function z = lastzerorow(a) [~,c]=size(a); k=zeros(1,c); for ii=1:c m=find(a(:,ii)==0) k(ii)=length(m); end z=k; end why this isn't working???

4 hours and 22 minutes ago

Lesandu Wenitha Sugathadasa submitted a Comment to Solution 3295423

Why this isn't working?? function B = name(value,row,col) row=row'; col=col'; z=zeros(max(row),max(col)); [ro,~]=size(row); for ii=1:ro for jj=1 h=row(ii,jj); b=col(ii,jj); z(h,b)=value; end end B=z; end

on 20 Oct 2020 at 15:53

Lesandu Wenitha Sugathadasa received Speed Demon badge for Solution 3281173

on 19 Oct 2020 at 17:15

Lesandu Wenitha Sugathadasa received Creator badge for Problem 46958. Find the value of Y

on 19 Oct 2020 at 17:15

1 – 50 of 128