Path: news.mathworks.com!not-for-mail
From: "Theodor Zouk" <rebet4@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Theo
Date: Tue, 4 Nov 2008 07:14:06 +0000 (UTC)
Organization: Univ of Umea
Lines: 17
Message-ID: <geosnu$ae1$1@fred.mathworks.com>
Reply-To: "Theodor Zouk" <rebet4@hotmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1225782846 10689 172.30.248.35 (4 Nov 2008 07:14:06 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 4 Nov 2008 07:14:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1540208
Xref: news.mathworks.com comp.soft-sys.matlab:498800


Hello everybody

My friend told me that there exists a function in matlab that does some specifics things i am interesting of, but he can?t remember the name of the function so Im asking the matlab community people for help.... Let me describe the function as described by my friend:

The function shall run a "window" on a vector (or a matrice) and shall apply another function to the elements red by the window, and after that; step n elements and re-do the process... 

something like this:

function(function,windowsize,step)

where step is independent of the chosen windowsize

it is similar to arrayfun/cellfun etc. but still not... 

Best regards