How to save 2 column vectors to an excel file

Hi,
What is the correct syntax to save to vectors x and y to an excel file in columns A and B?
Is it
xlswrite(C:\Folder\name.xls, [x y])

 採用された回答

Thomas
Thomas 2012 年 3 月 25 日

0 投票

Yes that is the correct syntax..only if both x and y are column vectors..
xlswrite(C:\Folder\name.xls, [x y])

その他の回答 (0 件)

タグ

質問済み:

2012 年 3 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by