Noah Hudson
Followers: 0 Following: 0
Feeds
已解决
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
5 years 前
提问
How to Plot a histogram of the letter frequency from the encoding key? I can get my histogram to show me the ascii values of each letter that comes up but can't figure out how to get it to display the characters instead of ascii vals.
function Project2(symbols,Dictionary) %probability vector goes in the dictionary % symbols go in the transmitter %tf = ischa...
5 years 前 | 1 个回答 | 0
1
个回答提问
I am trying to get the binary key of each letter from my huffman dictionary. How can I do that? I tried pulling them directly from the cells using a for loop. Please help.
function Project2(transmitter,Dictionary) %probability vector goes in the dictionary % symbols go in the transmitter tf = is...
5 years 前 | 1 个回答 | 0
1
个回答已解决
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
5 years 前
已解决
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
5 years 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
5 years 前
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
5 years 前
已解决
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
5 years 前