How to save 2 column vectors to an excel file

조회 수: 2 (최근 30일)
John
John 2012년 3월 25일
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일
Yes that is the correct syntax..only if both x and y are column vectors..
xlswrite(C:\Folder\name.xls, [x y])

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by