文件名称:查找具有所有常量值的列:此函数适用于 NaN、缺失、数字、字符串、布尔值等-matlab开发
文件大小:1KB
文件格式:ZIP
更新时间:2024-06-18 06:46:38
matlab
生成测试数据: 清除; n = 10; c1 = repmat(3,[n,1]); % n 次值 3 c2 = rand(n,1); % n 值c3 = repmat(NaN, [n,1]); c4 = c3; c4(4) = 2; c5 = repmat(missing,[n,1]); c6 = cellstr(repmat('test',n,1)); c7 = c6; c7{7} = '你好'; c8 = repmat(false,[n,1]); c9 = c8; c9(9) = 真; T =表(c1,c2,c3,c4,c5,c6,c7,c8,c9); cellData = table2cell(T); constantColumnIndex = constantColumnExtraction(cellData); constantColumnNames = T.Prope
【文件预览】:
constantColumnExtraction.m.zip