image thumbnail

updated 2 years ago

POWERMOD by Cavin Dsouza

The function calculates A = powermod(base,exponent,modulus) (powermod, data compression and ..., modulus)

a=powermod(x,z,p)

image thumbnail

updated 2 years ago

Arithmetic Coding and decoding by Cavin Dsouza

Encodes a message using arithmetic coding and decodes it (arithmetic coding, data compression and ..., communications)

Arithmetic_Coding.m

image thumbnail

updated 2 years ago

Chinese Remainder Theorem by Cavin Dsouza

Computes CRT of a system of equations of the form x=r1mod(p1),x=r2mod(p2)........... (data compression and ..., chinese remainder the..., inverse modulo)

phi=eulerphi(n)

x=CRT(r,p)

y=invmodn(x,p)

Contact us