DSPRelated.com
Forums

Downsample Matrix

Started by maxfoxchina July 31, 2003
Hey folks,
i do have a question about downsampling on matlab.

There is an image of 400 x 400 points and i do need a matrix which
downsamples the image to 200 x 200 points. I dont want to use the
functions of matlab to resize it, just want to compute it by myself,
or better with your help. Any guesses about the downsample matrix
and how it looks like?
Thanx, Werner



Hi,
J=1:2:399;
M(:,J)=[]; % M is the original set (image);
M(J,:)=[];

Joe
BSTeX- Equation viewer for Matlab
http://www.geocities.com/bstex2001

--- maxfoxchina <> wrote:
> Hey folks,
> i do have a question about downsampling on matlab.
>
> There is an image of 400 x 400 points and i do need
> a matrix which
> downsamples the image to 200 x 200 points. I dont
> want to use the
> functions of matlab to resize it, just want to
> compute it by myself,
> or better with your help. Any guesses about the
> downsample matrix
> and how it looks like?
> Thanx, Werner >


__________________________________