Friday, October 18, 2013

For Beginner to PsychToolBox of Matlab (00)

0) Basic Matlab function
Matlab基本命令

doc, help, which, size, length, class, ', disp,

in the command line:
在主命令行界面:
>> doc help
>> help doc
>> which doc

>> a = [1, 2]
a =

     1     2

>> size (a)
ans =

     1     2

>> length (a)
ans =

     2

>> class(a)

ans =

double

>> a'

ans =

     1

>> disp(a)
     1     2

No comments:

Post a Comment