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

 채택된 답변

Steven Lord
Steven Lord 2019년 4월 23일

1 개 추천

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

카테고리

도움말 센터File Exchange에서 Data Types에 대해 자세히 알아보기

태그

질문:

2019년 4월 23일

답변:

2019년 4월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by