r=Az, solve for A

3 views (last 30 days)
jm
jm on 1 Jun 2019
Edited: Adam Danz on 12 Aug 2019
Hello, I am not a math guru, and I could use your help.
I have a large dataset:
r is a 97x5824 matrix (neuronal spikes)
z is a 4x5824 matrix (dimensions of an robotic arm movement)
I have the linear equation
r = A * z
How do I solve for matrix A? It should be 97x4, correct?

Answers (2)

Walter Roberson
Walter Roberson on 2 Jun 2019
It is unlikely there is an exact solution. You can try
A = r/z;
Note that this is not r ./ z

jm
jm on 2 Jun 2019
I've been asked to use an optimal linear estimator. I see no OLE function on Matlab, nor any function via MathWorks. Any ideas?
The cited paper is Vector reconstruction from firing rates, Salinas et al, 1994
  1 Comment
Adam Danz
Adam Danz on 12 Aug 2019
Edited: Adam Danz on 12 Aug 2019
Cited at least 500 times (many articles, including the Salinas & Abbott paper, apply the OLE to arm (and finger) movement decoding).
The OLE code I have is from a collaboration and I'm not certain the others want it public. If you have specific questions, feel free to follow up.

Sign in to comment.

Categories

Find more on Neural Simulation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!