Please help me... please(by 6/6/2019)

2 次查看(过去 30 天)
Check the text file named ‘source_JPARK2019_vfinal.txt’
In this file, some samples of the alphabetical sources (for example, a, b, c, …) are written. The total number of the samples is 100000 .
Unfortunately, we do not know how many sources we have, and what their appearance probabilities are. For this reason, to use the Huffman encoding, we have to LEARN the appearance probability first.
Design a source coding algorithm that can minimize the used number of bits!
Two useful assumptions are given in the following:
1. We can change our source coding strategy in the middle of the source coding process. For example, we can use a source coding algorithm “A” until the x-th sample, and use a different a different source coding algorithm “B” until the end of the samples.
2. The ASCII encoding method (7bits per each alphabet) can be used without “learning” anything.
In the report (page limit = 5)
1. Explain the key idea of the algorithm.
2. Show the performance (expected bits length). Draw some performance graphs if you have one.
3. Copy & paste the Matlab code.
4. Write your lesson of exploitation vs exploration in this problem.
The thick letter sentense is the problem and I need it by 6/6/2019.
I'm sorry to say about it but I don't know anything about matlab but this is my project assignment.
Please check the attached file.
  5 个评论
Youngwook
Youngwook 2019-6-4
编辑:Youngwook 2019-6-4
I want to know how to solve it. Despite I tried hard, but I can't make command. So, please let me know the full command that I have to use.
Steven Lord
Steven Lord 2019-6-4
If you show us what you've done and ask a specific question we may be able to offer some guidance.
If you're not sure even where to begin because you're not familiar with MATLAB, I recommend going through the MATLAB Onramp tutorial to learn the essentials of working with MATLAB.
If you're not sure even where to begin because you are having difficulty with the mathematics behind the problem, you should probably talk to your professor and/or your teaching assistance for help.

请先登录,再进行评论。

回答(1 个)

Raghunandan V
Raghunandan V 2019-6-4
编辑:Raghunandan V 2019-6-4
Hi,
I will not give the solutiopn for your homework. If you wanna try the solution, study the topic "Entropy in Information theory".
Useful links:
Regards,
Raghunandan V
  1 个评论
John D'Errico
John D'Errico 2019-6-4
I think it got flagged automatically because of the links you included. Computer algorithms are not perfect. Not spam though, and a good response to a homework question.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by