필터 지우기
필터 지우기

How to use timetable function to insert it into data cleaner app ?

조회 수: 2 (최근 30일)
OMAR MOUSA
OMAR MOUSA 2022년 11월 2일
편집: dpb 2022년 11월 2일
Hi all,
I would like to clean my data by using a cleaner data app, but I cannot put my data directly which cannot read it because it's not in the timetable. Also, I used the Timetable function but needed to insert the time step. how can I fix this I f I have only the signal vector, please?
I will attach the data and the code for timetable function
load('a.mat')
b= timetable(a);

답변 (1개)

dpb
dpb 2022년 11월 2일
편집: dpb 2022년 11월 2일
load(websave('a.mat','https://www.mathworks.com/matlabcentral/answers/uploaded_files/1178268/a.mat'))
Fs=1; % assume 1 Hz; set at whatever is your sample rate
ttA=timetable(a,'SampleRate',Fs);
head(ttA)
Time a _____ ______ 0 sec 0 1 sec 74.08 2 sec 132.85 3 sec 116.46 4 sec 351.76 5 sec 97.4 6 sec 97.5 7 sec 98.1
See timetable for all the other possible ways in which you can create the time vector...

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by