This repository has been archived on 2021-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
scientificComputing/projects/project_vector_strength/solution/vectorStrength.m

3 lines
97 B
Matlab

function vs = vectorStrength(phases)
vs = sqrt((mean(cos(phases)).^2) + (mean(sin(phases)).^2));