r=Az, solve for A
    3 views (last 30 days)
  
       Show older comments
    
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?
0 Comments
Answers (2)
  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 
0 Comments
  jm
 on 2 Jun 2019
        1 Comment
  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. 
See Also
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!

