From: TC Christensen on
Hi,

I am looking for a way to _precisely_ define the number of output decimals in the MATLAB command window. I know and am familiar with the 'format' command - however, I can only force it to either give me 4 digits (short) or 15 (long).

In this specific case, I want the output (which is a 50*50 matrix) to be shown with zero decimals. Is this possible to do? And is there a general way to set the number of decimals to exactly the number I want?

I look forward to reading your suggestions. Best regards,
Thomas