Comments (4)
apologies - I should have read the documentation for komm.ConvolutionalStreamDecoder more carefully. So I am only noting here a difference in functionality with the Matlab Communications Toolbox implementation of Convolutional Coding and giving example code.
"... The output stream has a delay equal to kĻ, where k is the number of input bits of the convolutional code..."
from komm.
Thanks a lot for your feedback!
But in fact this exact same functionality is implemented by MATLAB when 'TerminationMethod'
is set to 'Continous'
. See:
>> % MATLAB R2015a
>> convolutional_decoder = comm.ViterbiDecoder( ...
'TrellisStructure', poly2trellis(3, [7 5]), ...
'TracebackDepth', 10, ...
'TerminationMethod', 'Continuous', ...
'InputFormat', 'Hard');
>> convolutional_decoder.step([1 1 1 0 0 0 0 1 1 0 0 1 0 0 0 1 0 1 1 1]')'
ans =
0 0 0 0 0 0 0 0 0 0
>> convolutional_decoder.step(zeros(2*10, 1))'
ans =
1 0 1 1 1 0 1 1 0 0
This matches exactly the example in komm.ConvolutionalStreamDecoder documentation.
Alternatively, you may also want to take a look at komm.TerminatedConvolutionalCode, and use .encode
and .decode
methods.
from komm.
Cheers Roberto,
my mistake. I'd missed the 'trunc' that was in my previous Matlab code using vitdec. You're absolutely right and I should have used the terminated form for equivalence in komm.
I'd like again to express my appreciation to you for developing this package, which I'm now planning on switching to in my Digital Communications course.
from komm.
I'm glad to hear that. Reports, patches and suggestions are always welcome. I'm closing this issue.
from komm.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from komm.