comparison doc/interpreter/data.texi @ 2993:91589ab98e37

[project @ 1997-05-21 21:44:54 by jwe]
author jwe
date Wed, 21 May 1997 21:51:38 +0000
parents 8c7955a8d49f
children dd00769643ae
comparison
equal deleted inserted replaced
2992:53b38bf1d443 2993:91589ab98e37
148 @group 148 @group
149 size ([1, 2; 3, 4; 5, 6]) 149 size ([1, 2; 3, 4; 5, 6])
150 @result{} [ 3, 2 ] 150 @result{} [ 3, 2 ]
151 151
152 [nr, nc] = size ([1, 2; 3, 4; 5, 6]) 152 [nr, nc] = size ([1, 2; 3, 4; 5, 6])
153
154 @result{} nr = 3 153 @result{} nr = 3
155
156 @result{} nc = 2 154 @result{} nc = 2
157 @end group 155 @end group
158 @end example 156 @end example
159 157
160 If given a second argument of either 1 or 2, @code{size} will return 158 If given a second argument of either 1 or 2, @code{size} will return