Ripley (holdmefaster) wrote in matlab_help,
Ripley
holdmefaster
matlab_help

dumb q

I created a table in matlab with the follwing script:

fprintf('\nCharacter Decimal \t HEX \t Binary') %Headings for table
for n=65:90;
str=dec2hex(n,2);
str2=dec2bin(n,8);
letter=char(n);
fprintf('\n\t%c \t\t\t %d \t %s \t %s',letter,n,str,str2)
end


How do I get it to skip a line after every fourth entry in the table?
  • Post a new comment

    Error

    default userpic
  • 5 comments