필터 지우기
필터 지우기

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 CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by