From: Giorgos Tzampanakis on
When using colfilt with sliding blocks, there will be some overlap between
the blocks. Does matlab exploit this overlap in order to gain performance?

For example, let's say the function whose handle is passed to colfilt
calls another function on each of the pixels. When the calculation moves
on to the next block and the overlapped value is encountered, will matlab
call the function again on it, or will it be smart enough to use the previous
value?
From: us on
Giorgos Tzampanakis <gt67(a)hw.ac.uk> wrote in message <slrnhlkvu5.3ti.gt67(a)news.eternal-september.org>...
> When using colfilt with sliding blocks, there will be some overlap between
> the blocks. Does matlab exploit this overlap in order to gain performance?
>
> For example, let's say the function whose handle is passed to colfilt
> calls another function on each of the pixels. When the calculation moves
> on to the next block and the overlapped value is encountered, will matlab
> call the function again on it, or will it be smart enough to use the previous
> value?

a hint:

% at the command prompt type
edit colfilt;
% then study the code...

us
 | 
Pages: 1
Prev: database
Next: tv tuner card.