Performs a division operation. This operator does simple element by element division.
Syntax
|
Description
|
y = x / z;
|
Divide x by z.
|
Examples
This example shows the usage of the "/" operator.
x=1:3;
y=2:4;
?z=x/y;
result:
0.5
0.666667
0.75
See Also
List of commands
,
*
,
/
,
+
,
-
,
^