Statistik
8 Dateien
Cody Blogs225 Beiträge
ThingSpeakRANG
476
of 296.041
REPUTATION
164
BEITRÄGE
5 Fragen
24 Antworten
ANTWORTZUSTIMMUNG
100.0%
ERHALTENE STIMMEN
72
RANG
690 of 20.322
REPUTATION
2.617
DURCHSCHNITTLICHE BEWERTUNG
4.60
BEITRÄGE
8 Dateien
DOWNLOADS
19
ALL TIME DOWNLOADS
23182
BEITRÄGE
225 Beiträge
BEITRÄGE
2 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
68
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
Reverse Boggle
Description In the classic Parker Brothers game Boggle, players find words from a 4x4 game board of letters. This exercise is t...
4 Monate vor
Gelöst
Balanced Ternary Numbers: Easy as |, |-, |o
This problem concerns the so-called <http://en.wikipedia.org/wiki/Balanced_ternary balanced ternary> system for representing num...
11 Monate vor
Gelöst
Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?
11 Monate vor
Gelöst
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
etwa ein Jahr vor
Gelöst
Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?
mehr als ein Jahr vor
Gelöst
Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...
fast 2 Jahre vor
Gelöst
Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y. A counting sequence is formed by "counting" the entrie...
fast 2 Jahre vor
Gelöst
Fibonacci Decomposition
Every positive integer has a unique decomposition into nonconsecutive Fibonacci numbers f1+f2+ ... Given a positive integer n, r...
fast 2 Jahre vor
Gelöst
Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>
fast 2 Jahre vor
Gelöst
Next Tribonacci Number
The "Tribonacci" sequence is an extension of the idea of the Fibonacci sequence: That is, each new term is the sum of the thr...
fast 2 Jahre vor
Gelöst
Cricket - Most Frequent Bowler-Batter Wicket Combinations
Given a table representing all wickets taken in a particular set of matches, return a table of the bowler-batter pairs that occu...
etwa 2 Jahre vor
Gelöst
Split Even Number Into Two Primes
Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. Fun note: technically it...
etwa 2 Jahre vor
Gelöst
Extract the Acrostic Message
An acrostic cipher is a way of embedding one message within another by taking the first (or last) word of each line. Given a str...
etwa 2 Jahre vor
Gelöst
Boustrophedon
Given a vector v and a positive integer n, return an m-by-n matrix containing the elements of v row-wise, alternating left-to-ri...
etwa 2 Jahre vor
Gelöst
Generate Tribonacci Sequence
The "Tribonacci" sequence is an extension of the idea of the Fibonacci sequence: That is, each new term is the sum of the thr...
etwa 2 Jahre vor
Gelöst
Where the Four Corners Am I?
The "Four Corners" region of the US is where Colorado, Utah, Arizona, and New Mexico all meet - the only place where four states...
etwa 2 Jahre vor
Gelöst
Generate Pascal's Triangle Matrix
Pascal's triangle is an arrangement of numbers where each value is the sum of the values adjacent to it in the previous row: ...
etwa 2 Jahre vor
Gelöst
Jack O'Lantern
If visualized correctly, the data contained in the matrix A will look like a jack-o'-lantern. Create a function that will visu...
etwa 2 Jahre vor
Gelöst
Plotting Practice
Plot cos(x) vs x as shown in the figure below. Include the appropriate title, x-label, and y-label. Note, it is case sensitive. ...
etwa 2 Jahre vor
Gelöst
Calculating Student Grades
The matrix grades contains raw grades for 7 students who took your course. Each row represents a different student. The first 7 ...
etwa 2 Jahre vor
Gelöst
Matrix Quadrants
Write a function that takes N as the input, and outputs a matrix whose upper-left (NxN) quadrant contains all ones, the lower-ri...
etwa 2 Jahre vor
Gelöst
Find the minimum of the column-maximums of a matrix
Given a matrix A, find the maximum value of each column, then return the smallest of those maximum values (ie return the minimum...
etwa 2 Jahre vor
Gelöst
Find Closest Constant
Given a number x, return the value that is closest to x from this list of constants: 0, 1, , e, , (also known as ). For exampl...
etwa 2 Jahre vor
Gelöst
Create an arrow matrix
An arrow matrix is a square matrix that contains ones on the diagonal, the last column, and last row. ...
etwa 2 Jahre vor
Gelöst
Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...
mehr als 2 Jahre vor
Gelöst
Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...
mehr als 2 Jahre vor
Gelöst
Find the complement of a number in binary
Input x is a decimal number and output y is the complement of binary representation of x. For example, x = 10 has the binary ...
fast 3 Jahre vor
Gelöst
Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...
etwa 3 Jahre vor
Gelöst
frame of the matrix
Given the matrix M, return M without the external frame.
etwa 3 Jahre vor