print in Matlab
how to print in matlab
xxxxxxxxxx
> x = [1 2 3 4];
> x
x =
1 2 3 4
> disp(x)
1 2 3 4
> fprintf('%i\n', x)
1
2
3
4
xxxxxxxxxx
for id=1:num_ids
% do something
if isempty(stress_value)
fprintf('The following ID does not have an assigned stress value: %d\n',id)
continue
end
% do something
end