Huffman code procedure without using in built functions

Hello i want a code that generates a huffman procedure for symbols N(N<=1000) or more without using any built in functions like huffman hufflen anything like that. PLease can any one help me with that. I want in matlab
Also i need to convert a program from java to matlab is there any site which converts it? I will really appreciate your help thank you

Answers (1)

Did you try searching the File Exchange?
I have not heard of any program that converts java to MATLAB. You can call Java routines from within MATLAB.

6 Comments

Do you know how to write a code for generating huffman procedure for sysbols N(N<=1024)
Yes, I took that in class... let me see, I think it was 33 years ago. Or has it changed since 1952?
If you need a sample implementation in another language to spark ideas, then you can see (for example) here
Ohh can you please send the code for the huffman procedure without using built in functions that generates huffman code or its length .. if possible in matlab and C++.. the method is same it didn't changed
Did you follow the link I gave?
i guess in all of them they using built in functions to generate the code!
Your guess is wrong. The link I gave in reference to the sample implementations is to routines that do not use built-in huffman routines.

Sign in to comment.

Categories

Asked:

on 26 May 2013

Community Treasure Hunt

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

Start Hunting!