38 lines
306 B
Plaintext
38 lines
306 B
Plaintext
>>
|
|
>>
|
|
>> a = 'okay'
|
|
|
|
a =
|
|
|
|
okay
|
|
|
|
>> x = rand(3) % a matrix
|
|
|
|
x =
|
|
|
|
0.8147 0.9134 0.2785
|
|
0.9058 0.6324 0.5469
|
|
0.1270 0.0975 0.9575
|
|
|
|
>> 1/0
|
|
|
|
ans =
|
|
|
|
Inf
|
|
|
|
>> foo
|
|
??? Undefined function or variable 'foo'.
|
|
|
|
>>
|
|
>>
|
|
>> {cos(2*pi), 'testing'}
|
|
|
|
ans =
|
|
|
|
[1] 'testing'
|
|
|
|
>>
|
|
>>
|
|
>>
|
|
|