質問

How can I extract only the diagonal elements of a matrix product without computing the whole product matrix?

I have nxk matrix (A) and a kxk (B) matrix where n>>k. I want the diagonal terms of A*B*A' in a n-vector. It would be wasteful ...

8年弱 前 | 1 件の回答 | 1

質問

How can I use glmfit to reduce the number of independent variables in a Logistic Regression model?

I am using GLMFIT to perform Logistic Regression on data. I would like to use it to eliminate the independent variables that ar...

8年弱 前 | 0 件の回答 | 0

質問

How can I perform matrix operation efficiently?

I have an array X(n,m) where m<<n and n can be very large. First, I want to create a 3-d array of dimension (m,m,n) such that ea...

8年弱 前 | 2 件の回答 | 0