+. 5. 6 >>
ANS =. 11
>>. 1 ~ = 2
ANS% =. 1. 1 represents true, 0 indicates to false
>>. 1. 1%. 1 ~ = not equal. 1
ANS = 0
>> A = 2
A = 2
>> A . 3 =;
>> a PI =
a = 3.1416
>> DISP (a)% of the output value of a
3.1416
>> A=[1 2;3 4;5 6]
A =
1 2
3 4
5 6
>> v=[1 2 3]
v =
1 2 3
>> a = [1;2;3]
a =
1
2
3
>> v=[1:0.2:2]
v =
1.0000 1.2000 1.4000 1.6000 1.8000 2.0000
>> v=[1:6]
v =
1 2 3 4 5 6