Community Profile

photo

Noah Hudson


Last seen: 2 years ago Active since 2019

Followers: 0   Following: 0

Statistics

All
  • Solver

View badges

Feeds

View by

Solved


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...

4 years ago

Question


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...

4 years ago | 1 answer | 0

1

answer

Question


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...

4 years ago | 1 answer | 0

1

answer

Solved


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.

4 years ago

Solved


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...

4 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

4 years ago

Solved


length of a vector
Find twice the length of a given vector.

4 years ago

Solved


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:...

4 years ago

Solved


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 ...

4 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

4 years ago