Can somebody please Explain why I got this Error by running this code using MATLAB
이전 댓글 표시
Hello People, I'm trying to run this using MAtlab and got this error "Undefined function 'huffmandict' for input arguments of type 'double'". Can sb tell or explain me why this error and what can I do to solve this problem???
symbols = [1:5]; p = [.3 .3 .2 .1 .1]; [dict,avglen] = huffmandict(symbols,p) samplecode = dict{5,2} % Codeword for fifth signal value
"Undefined function 'huffmandict' for input arguments of type 'double'"
채택된 답변
추가 답변 (1개)
Jason Ross
2012년 12월 14일
0 개 추천
Do you have the toolbox installed that has this function? If you type "ver" at the command prompt, you should see "Communications System Toolbox"
You and also use "which" to see where the function is coming from to make sure there's not another one on your path that might be getting in the way.
댓글 수: 1
Walter Roberson
2012년 12월 14일
Note: Communications Systems Toolbox is not one of the products included as part of the Student Version; it is, though, available at extra cost.
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!