How to save 2 column vectors to an excel file

4 Ansichten (letzte 30 Tage)
John
John am 25 Mär. 2012
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])

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by