フィルターのクリア

Change Column Names in Excel to Text

2 ビュー (過去 30 日間)
Amanda
Amanda 2013 年 2 月 15 日
I have an excel file:
California Texas Florida
123 333 234
222 567 123
234 324 334
I want to CREATE or write to a text file with the change column names but yet keep the same data.
So the desire output is:
CA TX FL
123 333 234
222 567 123
234 324 334
Thanks, Amanda

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 2 月 15 日
編集済み: Azzi Abdelmalek 2013 年 2 月 15 日
y= {'California' 'Texas' 'Florida'
[123] [333 ] [234]
[222 ] [567] [123]
[234] [324 ] [334]}
h={'CA' 'TX' 'FL'}
y(1,:)=h

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by