|
From: | Dmitri A. Sergatskov |
Subject: | Re: bad mod function |
Date: | Tue, 19 Jun 2018 10:36:15 -0500 |
% example of the problem
fprintf('-- bad mod function ---\n');
for i = 1 : 11
fprintf('%4d', i);
if mod(i, 5) == 1; fprintf('\n'); end
end
Vic
[Prev in Thread] | Current Thread | [Next in Thread] |