Community Profile

photo

Manoj Kumar Kanakasabapathy


Active since 2013

Statistics

  • First Review
  • Thankful Level 1

View badges

Content Feed

View by

Question


Is the loop getting skipped? I wanted las to take last array of trk with a value in it. but for some the loop seems to get skipped.. What am I doing wrong? Can someone please help??
tk = 1; trk = { [1;1], [1;1], [1;1], [1;1], [0;0], [0;0], [0;0]}; las =[]; if isempty(las) las = [0;0]; ...

10 years ago | 1 answer | 0

1

answer

Question


Is the loop getting skipped? I wanted las to take last array of trk with a value in it. but for some the loop seems to get skipped.. What am I doing wrong? Can someone please help??
tk = 1; trk = { [1;1], [1;1], [1;1], [1;1], [0;0], [0;0], [0;0]}; las =[]; if isempty(las) las = [0;0]; for roll ...

10 years ago | 2 answers | 0

2

answers