Data spacing in dlmwrite command

Hi I want to space my columns in a spacing %8g%16g%16g%16g%8g%8g (there are 6 columns in the matrix) and write in a text file using the dlmwrite command.How do I give this command to implement this spacing in the matrix output data? Thanks.

回答 (1 件)

Jan
Jan 2012 年 4 月 22 日

0 投票

What about using fprintf directly?

質問済み:

2012 年 4 月 22 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by