Skip to content

Instantly share code, notes, and snippets.

@soldev-42
Created November 3, 2015 18:06
Show Gist options
  • Select an option

  • Save soldev-42/21e6905b8a061ddb6f00 to your computer and use it in GitHub Desktop.

Select an option

Save soldev-42/21e6905b8a061ddb6f00 to your computer and use it in GitHub Desktop.
function [x] = minimal (A, b)
x = linsolve(A'*A,-(A'*b))
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment