Community Profile

photo

Noah Hudson


Last seen: meer dan 2 jaar ago Active since 2019

Statistics

All
  • Solver

View badges

Content Feed

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

meer dan 4 jaar 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...

meer dan 4 jaar 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...

meer dan 4 jaar 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.

meer dan 4 jaar 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...

meer dan 4 jaar 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...

meer dan 4 jaar ago

Solved


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

meer dan 4 jaar 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:...

meer dan 4 jaar 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 ...

meer dan 4 jaar ago

Solved


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

meer dan 4 jaar ago