writing multiple arrays in a text file
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
hello dears, i have 2 arrays which i want to write them in a text file, both in 1 file in two seperate coloums,i also tried fprintf but it prints in 1 coloum. what shoud i do? THANKS.
0 Kommentare
Antworten (3)
Oleg Komarov
am 8 Mai 2011
fprintf(fid, '%f%f', [A;B])
A and B are doublr row vectors and the output is length(A) by 2 columns.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Text Data Preparation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!