> Cute, and I can see the use of such a function for clock offset
calculations in comms systems. I 
> typically use simpler narrwband approximations for this functionality as I
> have to worry about how 
> to implement it on an ASIC. 

good to know that this work could be useful elsewhere!

> The interpolator must introduce a colored noise to the signal, that
> depends on the signal given to 
> the function, and the characteristics of the interpolating filter. Have
> you any idea of the magnitude 
> of the error introduced with the default filter? If so it would probably
> makes sense to document it in 
> the help string so that others kno what to expect. I'd check myself, but
> am writing from an EEE PC 
> without a copy of Octave installed to check with.

the parameter log10_rejection determines the interpolation error in 
the working band of the interpolator. if you make a script with the
first test and plot the variable "err", you'll have a practical demo
of the interpolation error. in this test, a sinusoid is shifted first
with this code and second using the exact expression. the two
are then compared. the third test is a similar test for random noise. 

I am not sure how to document that in the help message since
the value of log10_rejection is hard wired. A note in the code 
might be a better idea?

> seems like a good thing. I'd say go ahead and commit it.

OK, done with the change in the copyright/help
but I have a problem here. I could svn add the source but
svn refuses to commit (see message which I don't understand). 
right access problem? am I missing something? 

octave-forge/main/signal/inst$ svn status
A      fracshift.m
octave-forge/main/signal/inst$ svn ci fracshift.m -m"first import"
svn: Commit failed (details follow):
svn: Server sent unexpected return value (403 Forbidden) in response to
MKACTIVITY request for
'/svnroot/octave/!svn/act/d893d539-3913-4ddc-ada4-448b62242a57'

eric
-- 
View this message in context: 
http://www.nabble.com/shift-of-a-fractional-number-of-samples-tp18490379p18493527.html
Sent from the octave-dev mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to