|
From: | Leloup |
Subject: | Re: Some multi dimensional matrix problem |
Date: | Sun, 16 Sep 2018 10:34:38 -0500 (CDT) |
Bonjour, I am not sure to understand what you want to do m = 10,n=8 Data = rand(m,n) for j=1:8; y=Data(:,j); X=[ones(m,1),Data(:,j)] theta=round(pinv(X'*X)*X'*y) end Leloup -- Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
[Prev in Thread] | Current Thread | [Next in Thread] |