GetTOFfftPhase
function [ToFph] = GetTOFfftPhase(MySignal,RefSignal, ProcType)
Used to get the delay between RefSignal and MySignal. This delay is called time of flight (ToF).
Estimation is based on cross-correlation peak position in time.
ToF is in subsamples, i.e. with better resolution than sampling period.
Time interpolation is using frequency domain interpolation.
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 these 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 frequency domain interpolation. Refer paper below for this function accuracy analysis:
L.Svilainis, Review on Time Delay Estimate Subsample Interpolation in Frequency Domain. IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control. 2019.
Available at IEEE Explore:
https://doi.org/10.1109/TUFFC.2019.2930661
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 GetTOFfftPhase" for more info
Can use TestBiasErrVsDelay for bias and random errors analysis.
Citation pour cette source
Linas Svilainis (2024). GetTOFfftPhase (https://www.mathworks.com/matlabcentral/fileexchange/72459-gettoffftphase), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
matlab
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.3 | Minor grammar mistakes in help text |
||
1.0.2 | More subfunctions in package |
||
1.0.1 | Subfunctions added |
||
1.0.0 |