Saving data to .txt

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!

Answers (2)

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

Asked:

on 25 Feb 2019

Commented:

on 25 Feb 2019

Community Treasure Hunt

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

Start Hunting!