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

3 ビュー (過去 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 Center および File ExchangeDescriptive Statistics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by