Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 1/Ts from raised-cosine calculation #5

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

saltchicken
Copy link
Contributor

I was running this example and plotting the result of h returned an impulse response that peaked at 0.12. This does not match with provided graph and it produces the wrong result for the convolution step.

Removing the scalar of 1/Ts for the sinc function seems to produce the correct result.

Disclaimer: This is not my field of expertise and study this for fun. I very well could be wrong.

I was running this example and plotting the result of h returned an impulse response that peaked at 0.12.
@777arc
Copy link
Owner

777arc commented Feb 21, 2024

Nice catch! It is strange that sources online, eg https://en.wikipedia.org/wiki/Raised-cosine_filter show the 1/Ts scaling but as a pulse shaping filter I don't see why you would want the scaling since you apply an FIR filter with convolve and you wouldn't want to scale the pulses...

@777arc 777arc merged commit 582e33d into 777arc:master Feb 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants