Tuesday 4 February 2014

Theory of Information - Matlab Code Snippets

That is a collection of some snippets in Octave (Matlab) I created during the course "[TIC] TEORIA DELL'INFORMAZIONE E CODICI LM" for the MS in Electronic and Telecommunication Engineering.
As always, they are open-sourced on GitHub, so any suggestion is welcomed. The best way is by fork & pull.
assignment01_mutinfo
A Matlab/ Octave function that, given the transition matrix P and the probability vector for the input symbols Px, returns the mutual information I(X;Y). It is provided with some tests that show the mutual information for some channels with different sets of P and Px and outputs the 3D surface plots.
assignment02_apcap_numint
A Matlab/ Octave script to plot a comparison for the capacity of the Antipodal unquantized channel, the AWGN unquantized channel and the Antipodal 2-Level quantized channel.
There is also a function for calculating the definite numerical integrals with different algorithms.
assignment03_noisyap2L
A Matlab/ Octave script to simulate a noisy antipodal 2 level transmission. 
assignment04_noisyap2LHamm
A Matlab/ Octave script that simulates an antipodal 2-level transmission over an AWGN channel using the Hamming block code.
Have fun!

No comments:

Post a Comment