- #1
- 3,021
- 7
I have a bunch of row vectors saved as objects r1 r2 r3. I would like to send each set of data (row) to a text file, but I want it to save as a column. This means that I want to save the transpose of the data, i.e., r1' r2'...
Unfortunately, when I try to use
MATLAB thinks that the quote ' is an unbalanced string.
I know that an "easy fix" would be to create new objects like R1=r1';
but I don't really think that is efficient. How can I get around this?
thanks
Casey
Unfortunately, when I try to use
Code:
save r1.txt r1' -ascii
MATLAB thinks that the quote ' is an unbalanced string.
I know that an "easy fix" would be to create new objects like R1=r1';
but I don't really think that is efficient. How can I get around this?
thanks
Casey