Saving data to .txt

5 次查看(过去 30 天)
Libor Voprsalek
Libor Voprsalek 2019-2-25
Hello guys,
I need to save data from valuable "sig" which contain 160 000 digit samples in a line into the .txt file in ANSI (not ANCII !) format with only 36 Byte on a line.
Thank you for help!

回答(2 个)

ANKUR KUMAR
ANKUR KUMAR 2019-2-25
Use dlmwrite to write into a ASCII file.
A=magic(5)
dlmwrite('sample.txt',A)

Libor Voprsalek
Libor Voprsalek 2019-2-25
I need ANSI.

Community Treasure Hunt

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

Start Hunting!

Translated by