Home > brede > brede_mat_krprod.m

brede_mat_krprod

PURPOSE ^

brede_mat_krprod - Khatri-Rao product

SYNOPSIS ^

function P = brede_mat_krprod(varargin)

DESCRIPTION ^

 brede_mat_krprod     - Khatri-Rao product

       P = brede_mat_krprod(A,B)
       P = brede_mat_krprod(A,B,C)

       Input:  A   'Mat' structure or numerical matrix
               B   'Mat' structure or numerical matrix
               C   'Mat' structure or numerical matrix   

       Output: P   Khatri-Rao product as 'mat' structure

       Khatri-Rau matrix product. The function can take multiple
       input arguments. 

       Example:
         A = [ 1 2 ; 3 4 ];
         B = [ 5 6 ; 7 8 ; 9 10 ];
         P = brede_mat_krprod(A,B); P.matrix

         C = [ 1 2 ; -3 -4 ];
         P = brede_mat_krprod(A,B,C); P.matrix

         P = brede_mat_krprod({A B C}); P.matrix

       See also BREDE, BREDE_MAT_PRODUCT.

 $Id: brede_mat_krprod.m,v 1.1 2008/08/21 13:55:33 fn Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005