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

extractOffsetsDriftsFromSolved.m

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