Advertisement
Tal_Rofe

jak

Jan 17th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.20 KB | None | 0 0
  1. while i ~= 511 || j ~= 511
  2. if c >= 257 || d >= 257
  3. break;
  4. elseif j == 511 && i ~= 511
  5. n(i, j) = f(c,d);
  6. j = 1;
  7. i = i + 2;
  8. c = 1;
  9. d = d + 1;
  10. else
  11. n(i,j) = f(c,d);
  12. j = j + 2;
  13. c = c + 1;
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement