Saving data to .txt

1 visualizzazione (ultimi 30 giorni)
Libor Voprsalek
Libor Voprsalek il 25 Feb 2019
Commentato: ANKUR KUMAR il 25 Feb 2019
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!

Risposte (2)

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

Libor Voprsalek
Libor Voprsalek il 25 Feb 2019
I need ANSI.

Community Treasure Hunt

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

Start Hunting!

Translated by