photo

Eric


Last seen: 9ヶ月 前 2022 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 2

バッジを表示

Feeds

表示方法

質問


How to restrict tensorprod (with contraction) to only give certain results?
I have vector of matrices A and a vector of vectors M. I want to do matrix multiplication of matrix in A and corresponding vecto...

9ヶ月 前 | 1 件の回答 | 0

1

回答

質問


For matrix A you cannot do: A.^2(:)
I have a matrix A=[1 2;3 4]. I want to sum the squares of the elements in the matrix. So I tried sum(A.^2(:)) I cannot do ...

10ヶ月 前 | 2 件の回答 | 0

2

回答

質問


svd(X,"econ") does not work as expected if X is square nxn matrix with rank<n
If X=[1 1;1 1] then with [U,S,V]=svd(X,"econ") I had expected that U=V=[1;1]/sqrt(2) and S=[2]. But "econ" does not work, S=[2 ...

2年以上 前 | 3 件の回答 | 0

3

回答