Cody

Lesandu Wenitha Sugathadasa

663
Rank
7
Badges
1612
Score
1 – 50 of 165

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???

on 22 Oct 2020 at 14:39

1 – 50 of 165