Domanda

How do I find if a x,y point is within a given polygon?

Is there a function, probably in the mapping community, that I could use to find out if a location specified by (Latitude, longi...

oltre 8 anni fa | 1 risposta | 0

Domanda

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 ...

quasi 9 anni fa | 1 risposta | 1

Domanda

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...

quasi 9 anni fa | 0 risposte | 0

Domanda

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...

quasi 9 anni fa | 2 risposte | 0