photo

Noah Hudson


Last seen: plus de 2 ans il y a Actif depuis 2019

Followers: 0   Following: 0

Statistiques

All
  • Solver

Afficher les badges

Feeds

Afficher par

A résolu


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

plus de 4 ans il y a

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

presque 5 ans il y a | 1 réponse | 0

1

réponse

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

presque 5 ans il y a | 1 réponse | 0

1

réponse

A résolu


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.

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a