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

1 visualización (últimos 30 días)
OMAR MOUSA
OMAR MOUSA el 2 de Nov. de 2022
Editada: dpb el 2 de Nov. de 2022
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);

Respuestas (1)

dpb
dpb el 2 de Nov. de 2022
Editada: dpb el 2 de Nov. de 2022
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...

Community Treasure Hunt

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

Start Hunting!

Translated by