Community Profile

photo

Manoj Kumar Kanakasabapathy


2 total contributions since 2013

Contact

Manoj Kumar Kanakasabapathy's Badges

  • First Review
  • Thankful Level 1

View details...

Contributions in
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]; ...

6 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 ...

6 years ago | 2 answers | 0

2

answers