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

% 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

 Akzeptierte Antwort

Steven Lord
Steven Lord am 23 Apr. 2019

1 Stimme

For this particular application, I recommend using standardizeMissing.

Weitere Antworten (1)

for c = 1 : height(Data)
Data{c, Data{c,:} == -32768} = missing;
end

Kategorien

Mehr zu Data Types finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by