MATLAB fprintf 格式化输出示例

Code
Result

这个例子演示 MATLAB 的 fprintf 格式化输出:%s 字符串、%d 整数、%.2f 保留两位小数。适合配合格式化输出教程练习。