Re: [BLACKBOX] Another LibVector question

From: [at]} <Wojtek>
Date: Fri, 27 Mar 2009 20:04:36 -0400

----boundary-LibPST-iamunique-1614340453_-_-
Content-type: text/plain

Robert:

   here is another question concerning LibVectors.Conv.

This procedure extends the original data and returns
a vector whose length is a sum of A+B, where A and B are vectors
being convolved. It seems extremely cumbersome to me.
Now I have to relate the index of a pattern found
in the convolved vector with the one in the original
vector.

As you know one of main applications of the convolution
is finding patterns. (Well, in this case the convolution
is called "correlation", but I am a practical person,
so I am not splitting the hair over those names).

Now I found the pattern by looking at maximum of the
correlation, but the maximum is shifted with respect
to original data. It is confusing at best.

Any comments why it should be so?

IGOR is quietly extending the data in order to provide
the "warmup region" for the FIR, but then it discards the
extended pieces before returning the correlation result
to the user.

I know you will not change LibVectors after they are out
for so many years.... but it is confusing to find those warmup
regions in the result...

W.


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1614340453_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIFJvYmVydDpccGFyDQpccGFyDQogICBoZXJlIGlz
IGFub3RoZXIgcXVlc3Rpb24gY29uY2VybmluZyBMaWJWZWN0b3JzLkNvbnYuXHBhcg0KXHBhcg0K
VGhpcyBwcm9jZWR1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