首页 > 技术文章 > [Matlab] fprintf

southernduck 2014-05-15 09:11 原文

%s format as a string
%d format with no fractional part (integer format)
%f format as a oating-point value
%e format as a oating-point value in scienti c notation
%g format in the most compact form of either %f or %e
\n insert newline in output string
\t insert tab in output string

推荐阅读