フィルターのクリア

Resetting index of filtered data in Matlab

2 ビュー (過去 30 日間)
SATINATH DEBNATH
SATINATH DEBNATH 2020 年 1 月 27 日
Hi,
I have time information of length N from matrix X in below format
% Matrix X
Time_ms Data
100 ....
200
300
400
....
N
I have another matrix whose length is more than this previous time array. Matrix is like below
% Matrix Y
Time(ms) satx_pos saty_pos satz _pos
100 25312593 8315787 -97412.2
110 -5471969 20037795 16498179
120 .... ..... .....
130 ... ..... ...
.... ...... ......... ......
200 ..... .... ......
210 ......... ............ .......
.....
300
....
My goal is to match those rows which has same time as previous time vector and reset the index.
I am able to compare and match the rows using for loop but not able to reset the index. How can I achieve it so that finally I can concatenate the 2 matrix and form a single matrix for easy array operation.
Thanks

回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by