Home > brede > brede_mat_match.m

brede_mat_match

PURPOSE ^

brede_mat_match - Match columns or rows of two matrices

SYNOPSIS ^

function [M1out, M2out] = brede_mat_match(M1in, M2in, varargin)

DESCRIPTION ^

 brede_mat_match      - Match columns or rows of two matrices

       [M1out, M2out] = brede_mat_match(M1in, M2in)

       Input:    M1in    'Mat' structure
                 M2in    'Mat' structure

       Property: Info    [ {0} | Value ] Amount of feedback/debug
                         information 
                 Items   [ {columns} | rows ] Items to match
                 Set     [ {union} | intersect ] Type of set 

       Output:   M1out   'Mat' structure
                 M2out   'Mat' structure

       This function will try to match either the rows or columns of two
       'mat' structure.

       Example: 
         B = brede_bdb('type', 'bib')
         M1 = brede_bib_bib2mat(B(1:length(B)/2), 'type', 'abstract');
         M2 = brede_bib_bib2mat(B(length(B)/2:end), 'type', 'abstract');
         M1in = brede_mat_mean(M1);
         M2in = brede_mat_mean(M2);
         [M1out, M2out] = brede_mat_match(M1in, M2in);

       See also BREDE, BREDE_MAT.

 $Id: brede_mat_match.m,v 1.5 2009/04/30 15:16:00 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