Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. %% convert cell to double
  2. ElectrodeID = str2double(C{1,2});
  3. %C is a cell that contains {Time} {Electrode} {Shape}
  4. %ElectrodeID is a column vector that contains electorde ID where spikes
  5. %were recorded. Data type is double.
  6.  
  7. %% count the number of electrode 64 in the data
  8. %defind electrode variable in int
  9. N_of_64 = size(find(ElectrodeID==64))
  10.  
  11.  
  12. %% plot (not finished yet)
  13. % plot(N_of_64)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement