Tools

runAnova_bcl.m [click me to request] : Although Matlab officially provides a built-in function to conduct the ANOVA, the results is far from that outputted by SPSS. Here we provide a customized m function aims to replace the official functions in that it returns the same results as SPSS do. The current version supports both between subject, within subject, as well as mixed design with unlimited conditional levels.


Useage:


 Example:


 Suppose 1) we have a 2*2*2 mixed experiment design and have 20 participants.

                  2) while the two within factors are ‘a’ and ‘b’, the between subject factor is ‘c’. 


 Then: 


 directory            = 'D:\test';

 data                    = rand(20,4);                             %  suppose we have 20 subjects,each finished 4 conditions.

 expDesign.wsDesign     = {'a', 'b'; 2, 2};             %  suppose we have 2 factors, each of which has 2 conditions.

 expDesign.bsDesign      = [1 1 1 ...,2 2 2 ...]';   %  A between subject factor that has 2 levels.

 expDesign.bsVarNames = {'c'};                         %  A between subject factor "c" that has 2 levels.


 [result] = ranova_bcl(data,expDesign);


lptOut.m [click me to request] : Used to send TTL trigger via a parallel port under linux.


 USAGE:

  lptout(port,value)


 Argins:

 portAdd        [double]: Port address (e.g., 888 = 0x378 )

 value             [double]: value to write (0-255)


 Examples:

 lptout(888,42);  


 Author: Yang Zhang, Soochow University, Suzhou,China 2015

 Fri Jan 23 21:01:09 2015


topoplot_bcl [click me to request] : A MATLAB function to plot pseudo-3D topographics.


Or https://github.com/yangzhangpsy/3dtopoplot

A free drag-and-drop GUI for Matlab Psychtoolbox (PTB) is coming…


During the past two years, we have been developing a free drag-and-drop graphic user interface for Matlab Psychtoolbox (PTB), which we dubbed PsyBuilder. Using this drag and drop interface (similar to E-prime), now it’s possible even for a newbie to build a full Matlab PTB script within 10 mins. We believe that PsyBuilder will be useful for both experts and novices because 1) it can drastically cut the programming time needed for almost any experiment; 2) it will dramatically flatten the learning curve for people without programming experience. Therefore, we believe that PsyBuilder will make the PTB platform extremely accessible and help to expand the user base.


Now, the software is ready to release in beta version! Please click the following links to download and enjoy PsyBuilder 0.1.


Mac OS 

For Mac OS users: After installation, you may need to run "sudo xattr -d com.apple.quarantine /Applications/PsyBuilder.app" in the terminal to make the app runnable in Mac OS. See details in here


Windows

Copyright © Yang Zhang Design, Attention and perception lab, Soochow University