GetTOFcos(MySignal,​RefSignal)

版本 1.0.0.2 (2.7 KB) 作者: Linas Svilainis
Calculates the delay between two signals using cosine interpolation of cross-correlation peak
165.0 次下载
更新时间 2019/8/19

查看许可证

Assume you have a pulse (reference, or transmitted signal) and a delayed version of it (measured signal in sonar, radar, range meter application). You need to estimate the delay between the measured and reference signals. All you need to supply just two signals. This function calculates the cross-correlation between two signals and estimates the location of the peak. Peak is estimated with higher than sampling period resolution. Subsample estimation is done using cosine interpolation. Refer paper below for this function accuracy analysis:
L.Svilainis, et al. Subsample interpolation bias error in time of flight estimation by direct correlation in digital domain. Measurement. 2013, vol. 46, iss. 10, p. 3950-3958.
Two signals can be any shape, not necessary just pulse (e.g. chirp, PSK sequence). Can also be used for spatial shift estimation if signals in time are replaced by signals in space.
Once downloaded, type help GetTOFcos for more info.

引用格式

Linas Svilainis (2024). GetTOFcos(MySignal,RefSignal) (https://www.mathworks.com/matlabcentral/fileexchange/65229-gettofcos-mysignal-refsignal), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Descriptive Statistics 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.2

Explanatory text grammar corrections

1.0.0.1

Bug, related to range variable, fixed.

1.0.0.0