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'...(adsbygoogle = window.adsbygoogle || []).push({});

Unfortunately, when I try to use

MATLAB thinks that the quote ' is an unbalanced string.Code (Text):save r1.txt r1' -ascii

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

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# MATLAB save command and transpose command

Loading...

Similar Threads - MATLAB save command | Date |
---|---|

How to save Matlab output? | Jan 23, 2013 |

MATLAB-saving data after loops for surf plot | Apr 14, 2012 |

Saving figures in Matlab | Feb 17, 2011 |

Matlab save/load question | Jan 2, 2010 |

Matlab, saving the plot. | Mar 4, 2009 |

**Physics Forums - The Fusion of Science and Community**