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

1 visualizzazione (ultimi 30 giorni)
% 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

Risposta accettata

Steven Lord
Steven Lord il 23 Apr 2019
For this particular application, I recommend using standardizeMissing.

Più risposte (1)

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

Categorie

Scopri di più su Descriptive Statistics in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by