From: dale on 4 Aug 2010 21:51 Hello , Is there anyway to count the number of operands in Matlab? For example, If, u = [1, 4, 9] The number of operands n is: n = 3. How can this be done. thanks.
From: Walter Roberson on 4 Aug 2010 21:57 dale wrote: > Is there anyway to count the number of operands in Matlab? > > For example, > > If, u = [1, 4, 9] > The number of operands n is: > > n = 3. See the documentation for size(), length(), and nargin()
|
Pages: 1 Prev: Input argument "Yd" is undefined. Next: Mathematica 7 bug - NIntegrate (Sin, Cos, Sqrt) |