How to save 2 column vectors to an excel file

5 visualizzazioni (ultimi 30 giorni)
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])

Risposta accettata

Thomas
Thomas il 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])

Più risposte (0)

Categorie

Scopri di più su Data Import from MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by