How to save 2 column vectors to an excel file

5 vues (au cours des 30 derniers jours)
John
John le 25 Mar 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])

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Data Import from MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by