Div
Element-wise division
Syntax
div(x,y) |
x, y are scalars |
Return a scalar which is the dividend of x and y |
x is matrix, y is scalar |
Return a matrix whose element is the dividend of the element in x to y |
|
x, y are matrices of the the same size |
Return a matrix whose element is the dividend of the element in x to the element in y |
Example
Input |
Output |
div(1,2) |
|
div([1,2,3], [4,2,6]) |
|
div([1,2,3;4,5,6], 2) |
|
div([1,2,3;4,5,6], [4,2,6;2,8,10]) |
See Also
Created with the Personal Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation