////////////////////////////////////////////////////////////////////////
/// Brain slice - Robot Analysis program  
/// --------------------------------------------------------------------
/// version 2.1 (02.20.2026)
/// *This program is running on Octave
///  https://octave.org/
////////////////////////////////////////////////////////////////////////


*This read me file gives the stepwise instructions to Analyse the Test results. 
*Its takes in result files of (1)response test on Day1 and Day3, (2)test files of any given day, and gives matrix and a figure of success rate of each note in the end.
*To run this program the system should have the following specifications: Windows11(or later) OS.


1. Copy "DecideReactiveE.m" to octave's workspace folder

2. Prepare data in "Slice file setting" section.
-RefList > result of first Test of Day1.
           create matrix of 10*60*3 from Test result S1-S3_max files, (10values of reaction)*(60 electrodes)*(S1,S2,S3)
-DecFile > result of first Trial of Day4.
           create matrix of 6*60*N from Trial result _La,Ti,Do files, (6values of reaction)*(60 electrodes)*(La,Do,Ti,...as you played)
-FileList > it should be stated in order of result of first Test of Day1, result of first Test of Day3, and result of Trials.
-LTDidx > note index of 1:La, 2:Ti, 3:Do.
*Octave can save matrix with its name with any filename. Variable of capital letters (e.g. RefList) represent filename, and variable of small letters (e.g. reflist) represent matrix name.

3. Change electrode list in "Analysis setting" section.
-S1List > combination of electrode number of [M1,M2,M3] of all slices.
 >you can set random combination on %control section.
-S2List > combination of electrode number of [S1,S2,S3] of all slices.

4. Run the DecideReactiveE.m.



