photo

Noah Hudson


Last seen: mehr als 2 Jahre vor Aktiv seit 2019

Followers: 0   Following: 0

Statistik

All
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


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

mehr als 4 Jahre vor

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


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.

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor

Gelöst


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

fast 5 Jahre vor