Undefined function 'eq' for input arguments of type 'timetable'.

3 次查看(过去 30 天)
% Data is a time table
x = height(Data);
y = width (Data);
for c=1:x
for v=1:y
if Data(c,v)== -32768;
Data(c,v)= missing;
end
end
end

采纳的回答

Steven Lord
Steven Lord 2019-4-23
For this particular application, I recommend using standardizeMissing.

更多回答(1 个)

Walter Roberson
Walter Roberson 2019-4-23
for c = 1 : height(Data)
Data{c, Data{c,:} == -32768} = missing;
end

类别

Help CenterFile Exchange 中查找有关 Data Types 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by