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