Home > brede > brede_web_web2mat.m

brede_web_web2mat

PURPOSE ^

brede_web_web2mat - Convert 'web' structure to 'mat'

SYNOPSIS ^

function M = brede_web_web2mat(W, varargin)

DESCRIPTION ^

 brede_web_web2mat    - Convert 'web' structure to 'mat'

       function M = brede_web_web2mat(W)

       Input:  W   'Web' structure

       Output: W   'Mat' structure

       This function will convert a 'web' structure to a 'mat'
       structure.

       Presently it works through a Perl program and writes temporary
       files on present working directory.

       Example:
         urls = { ...
           'http://www.neuroskills.com/tbi/bfrontal.shtml' ...
           'http://www.emedicine.com/NEURO/topic141.htm' ...
           'http://www.emedicine.com/NEURO/topic436.htm' ...
           'http://faculty.washington.edu/chudler/lobe.html' ...
           'http://www.driesen.com/glossary_f-g.htm' ...
           'http://www.clinicaltrials.gov/ct/show/NCT00001258' ...
           'http://www.clinicaltrials.gov/ct/show/NCT00001178?order=32' ...  
           'http://www.epub.org.br/cm/n07/doencas/disease_i.htm' ...
           'http://masonc.home.netcom.com/' ...
           'http://www.brain.northwestern.edu/mdad/frontal.html' }
         W = brede_web_url(urls, 'output', 'web');
         W = brede_web_web2web(W);
         M = brede_mat_elimstop(brede_web_web2mat(W));
         [V,H] = brede_mat_ica(M, 'components', 3);
         brede_mat_2mat2html(V, H);
         web(['file://' pwd filesep 'Mat.html'], '-browser')

       See also BREDE, BREDE_WEB, BREDE_MAT, BREDE_WEB_WEB2WEB.

 $Id: brede_web_web2mat.m,v 1.3 2006/03/24 15:29:44 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