generate binary seq using MAtlab

Discussion in 'Programmer's Corner' started by ambreen, Mar 5, 2008.

  1. ambreen

    Thread Starter New Member

    Mar 5, 2008
    6
    0
    I want to generate a binary seq. of 10^5 with p(x=0)=.3 & p(x=1)=.7
    encode the seq. by lempel-ziv algorithim & copression rate.
    i have to write the code for phrasing & codewords of generated series which runs on Matlab.
    I need help,if somebody have work on it.I have to submit my h.w tomorrow & i have been stuck on it since few days,as i am new to Matlab.

    Thanks,
    Ambreen
     
Loading...