[Master Index]
[Index for export/brede]
brede_mat_divide
(export/brede/brede_mat_divide.m)
Function Synopsis
Mout = brede_mat_divide(M1, M2, varargin)
Help text
brede_mat_divide - Element-wise divide
Mout = brede_mat_divide(M1, M2)
Input: M1 First matrix
M2 Second matrix
Output: Mout
Element-wise division between two matrices. Any of the
matrices might be a vector or a scalar.
If the two first input arugments is matrices this operation is
performed:
Mout.matrix = M1.matrix .* M2.matrix
Example:
brede_mat_divide(eye(2), 2)
getfield(brede_mat_divide(eye(5), 1:5), 'matrix')
getfield(brede_mat_divide(eye(5), rand(5)), 'matrix')
See also BREDE, BREDE_MAT, BREDE_MAT_ADD,
BREDE_MAT_ELEMPRODUCT, BREDE_MAT_MINUS,
BREDE_MAT_PRODUCT.
$Id: brede_mat_divide.m,v 1.2 2005/10/20 19:22:13 fnielsen Exp $
Cross-Reference Information
This function calls
Produced by mat2html on Fri Jun 20 17:43:05 2008
Cross-Directory links are: OFF