Filter löschen
Filter löschen

How to match two matrices

4 Ansichten (letzte 30 Tage)
mohsen moslemin
mohsen moslemin am 22 Sep. 2018
Kommentiert: mohsen moslemin am 22 Sep. 2018
Hi, I have two matrices (same data from two reading) at some point they match each other, As you can see A(39,2) is 800 and A(400,2) = 798, A(18,1) is 800 followed by A(19,1) = 798. These data are out of sync, I'm trying to match them. Any suggestion?

Akzeptierte Antwort

Honglei Chen
Honglei Chen am 22 Sep. 2018
Are you trying to align the two signals so [800 798] in column 1 matches [800 798] in columns 2? In that case you can try alignsignals
If you release does not have this function, then yo can consider using xcorr
HTH
  1 Kommentar
mohsen moslemin
mohsen moslemin am 22 Sep. 2018
Thanks, for some reason, alignsignals doesn't work properly. I attached my matrix as a text file.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by