×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

adaptive step size

adaptive step size

adaptive step size

(OP)
i need to find the step size required to get 1 bit of entropy from a signal, in order to code it with 1 bit per sample.
this figure should clear some questions:
http://www1.file-upload.net/30.07.06/etw564.png

so what i did is start from very large step size R and divide it by 2, calculate the entropy and check if it is under 1.001 until i pass the 1.001 mark. Then i take a very small step size L, multiply it by 2 until the entropy is greater than 0.999 bits. I created two while loops for each L and R step sizes. The problem is, I get two step sizes which give an entropie close to one, but not close enough. How would I do it, so that the entropie gets closer to one, that is, the stepsizes geta adjusted so that the entropie is closer to 1. I'm perplexed.
I'm using this method of division by 2 because I was told to use it, I had it explained up to the point where the values pass their bounds (1.001 and 0.999), after that I was left with a blank.

If somebody has a better method or any suggestions, I would greatly appreciate it. Thank you,

Paul

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources