Info

This question is closed. Reopen it to edit or answer.

i am doing encoding and decoing using huffman ,i am getting length of deco is 262143 during the reshaping it shows an error(To RESHAPE the number of elements must not change.) please help me

1 view (last 30 days)
deco=huffmandeco(comp,dict) len=length(deco); disp(len); row1=round(sqrt(len)); col1=row1; New_Decim = reshape(deco,[row1 col1]); New_Decim = New_Decim*10; figure(1),imshow(New_Decim,[]);

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!