Skip to content
Snippets Groups Projects
Select Git revision
  • 1dff61a44292d294062d2d634fc0eb49c182e5b3
  • master default protected
  • wip/kalman-filter-adjustments
  • exp/re-enable-mercator-projection
  • v2.0
  • v1.0
6 results

extractOffsetsDriftsFromSolved.m

Blame
  • extractOffsetsDriftsFromSolved.m 481 B
    function [offsets, drifts] = extractOffsetsDriftsFromSolved(pX)
    %EXTRACTOFFSETSDRIFTSFROMSOLVED Summary of this function goes here
    %   Detailed explanation goes here
    
    soundsourceCount = (length(pX) - 4) / 2;
    
    offsets = NaN(soundsourceCount + 1, 1);
    drifts = NaN(soundsourceCount + 1, 1);
    
    offsets(1) = pX(end - 1);
    drifts(1) = pX(end);
    
    for i = 2:soundsourceCount + 1
        startIndex = (i - 1) * 2 + 3;
        offsets(i) = pX(startIndex);
        drifts(i) = pX(startIndex + 1);
    end
    
    end