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_mutinfoA Matlab/Octave function that, given the transition matrix and the probability vector for the input symbols , returns the mutual information . It is provided with some tests that show the mutual information for some channels with different sets of and and outputs the 3D surface plots.
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.
A Matlab/Octave script to simulate a noisy antipodal 2-level transmission.
A Matlab/Octave script that simulates an antipodal 2-level transmission over an AWGN channel using the Hamming block code.
Have fun!