Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は次の方程式を与えるMatlabで関数を使用しようとしています:
xとのa値は 2 つのマトリックスにあります。私はほとんどすべてを試しましたが、正しい答えが得られません。助けてくれる人いますか??
x
a
ありがとう
これを行う別の方法は、
a = sqrt(ain); % ain is your input column vector A = a*a.'; A = A-diag(diag(A)); aresult = x.'*A*x % x is your (other) input column vector