フィルターのクリア

테이블 타입에서 .var인덱싱과 {} 인덱싱의 차이점이 뭔가요?

2 ビュー (過去 30 日間)
MINHOON KIM
MINHOON KIM 2020 年 3 月 19 日
編集済み: MINHOON KIM 2020 年 3 月 19 日
tm =readtable ('EPLteams.xlsx');
tm(:,6) = tm{:,5};
tm.Properties.VariableNames(6) = {'MN_1'};
MN_0 = tm(:,5);
MN_1 = tm(:,6);
a = tm{:,6}
a_1 = tm.MN_1
CHAR(1:20,1) = 'a'
tm
%.var 인덱싱
tm.MN_1 = CHAR
%{} 인덱싱
tm.MN_1 = tm{:,5}; % 테이블 내부 타입을 다시 Cell타입으로 바꾸기 위한 코드임. 무시하기.
tm{:,6} = CHAR

回答 (0 件)

カテゴリ

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

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!