Re: zero mean
- From: Peter Boettcher <boettcher@xxxxxxxxxx>
- Date: Tue, 28 Feb 2006 15:07:58 -0500
nick <fdfdf@xxxxxxxx> writes:
ok, it doesnt
my code is
C=imread('carline.bmp');
Cg=rgb2gray(C);
row=Cg(93,:);
A=P1;
B=row;
plot(A)
//result shown in link
<http://img.photobucket.com/albums/v710/nix_pug/A.jpg>
A1=A-mean(A);
plot(A1)
//result shown in link
<http://img.photobucket.com/albums/v710/nix_pug/A1.jpg>
I think you are computing with integers, so they are saturating at 0.
Try replacing A=P1 with A = double(P1), and continue with the code.
--
Peter Boettcher <boettcher@xxxxxxxxxx>
MIT Lincoln Laboratory
MATLAB FAQ: http://www.mit.edu/~pwb/cssm/
.
- Follow-Ups:
- Re: zero mean
- From: nick
- Re: zero mean
- References:
- zero mean
- From: nick
- Re: zero mean
- From: Jos
- Re: zero mean
- From: nick
- Re: zero mean
- From: nick
- zero mean
- Prev by Date: Make Money Fast With Paypal!!!
- Next by Date: computing an empirical copula
- Previous by thread: Re: zero mean
- Next by thread: Re: zero mean
- Index(es):