![]() Also, you can use the format specifier %g, which automatically prints integer values without decimals: fprintf(strjoin(),a,b,c) You can dynamically build the format string using repmat and strjoin. That is, should be printed as 4 4.1, not as 4 4.10000 or 4.00000 4.10000.Ĭ = % example with 9 decimal figures This answer assumes you don't need trailing decimal zeros.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |