Feeds
提问
How can I use a variable for formatting?
Hi. I have this line of code: address = num2str(str2double(string(dec2bin(find(strcmp(dictionary,content(1:end-1)))))),'%04d')...
4 years 前 | 1 个回答 | 0
1
个回答提问
Legend colors match with plot
Hi. I have a for loop in which I plot some curves with different colors. P=[0.25 0.25 0.2 0.15 0.15]; color = {'r','c','g','y'...
4 years 前 | 1 个回答 | 0
1
个回答已回答
Binary numbers into array
Solved. If anyone's curious: bitStream = {}; for i=1:N value = str2num(n(i)); bitStream(i) = ret(3,value); end
Binary numbers into array
Solved. If anyone's curious: bitStream = {}; for i=1:N value = str2num(n(i)); bitStream(i) = ret(3,value); end
4 years 前 | 0
| 已接受
提问
Binary numbers into array
I have a string n of N numbers (like '21325231214523234322' ) and their respective Huffman code ( {'10' } {'01' } {'...
4 years 前 | 2 个回答 | 0
