writing multiple arrays in a text file
Mostrar comentarios más antiguos
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.
Respuestas (3)
Oleg Komarov
el 8 de Mayo de 2011
fprintf(fid, '%f%f', [A;B])
A and B are doublr row vectors and the output is length(A) by 2 columns.
alireza
el 9 de Mayo de 2011
1 voto
alireza
el 9 de Mayo de 2011
0 votos
Categorías
Más información sobre Characters and Strings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!