Last active
February 16, 2021 12:01
-
-
Save loiseaujc/9601edbdbc508d209cfc6a9572663ed2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using LinearAlgebra | |
function sensor_placement(Ψ) | |
# --> Compute the QR w/ column pivoting decomposition of Ψ. | |
_, _, p = qr(transpose(Ψ), Val(true)) | |
return p[1:size(Ψ, 2)] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment