Calq commands and keywords

Function

rand

Definition

Returns argument pseudo-random values greater than zero and less than one. The argument should be a scalar, real, positive, non-zero integer. This function accepts one or two arguments (as of v3.1).

Example

Note that this is from an actual run. The values returned for you will be different.
  rand(4)
  0.5948 0.373 0.3524 0.5845
  rand(4,3)
  0.5861 0.3408 0.3382
  0.2982 0.067 0.7615
  0.2736 0.2702 0.9955
  0.78 0.0388 0.9812


What is Calq?
Latest version of Calq
Digital Wave Systems Lab homepage