Daniel
DeVry Institute of Technology
Followers: 0 Following: 0
Statistiques
RANG
11 501
of 295 495
RÉPUTATION
3
CONTRIBUTIONS
2 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
50.0%
VOTES REÇUS
3
RANG
of 20 240
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
1 Public Chaîne
CLASSEMENT MOYEN
30
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
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:...
plus de 4 ans il y a
A résolu
Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...
environ 9 ans il y a
A résolu
Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...
environ 9 ans il y a
A résolu
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
environ 9 ans il y a
A résolu
Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....
environ 9 ans il y a
A résolu
Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...
environ 9 ans il y a
A résolu
Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...
environ 9 ans il y a
A résolu
Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...
environ 9 ans il y a
A résolu
How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...
environ 9 ans il y a
A résolu
Find relatively common elements in matrix rows
You want to find all elements that exist in greater than 50% of the rows in the matrix. For example, given A = 1 2 3 5 ...
environ 9 ans il y a
A résolu
Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...
environ 9 ans il y a
A résolu
Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise
environ 9 ans il y a
A résolu
Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...
environ 9 ans il y a
A résolu
Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...
environ 9 ans il y a
A résolu
Duplicate each element of a vector.
for an n-dimensional vector x, the function should return another vector 2n-dimension which each element is repeated twice. Ex...
environ 9 ans il y a
A résolu
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...
environ 9 ans il y a
A résolu
Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...
environ 9 ans il y a
A résolu
Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product
environ 9 ans il y a
A résolu
Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];
environ 9 ans il y a
A résolu
Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5
environ 9 ans il y a
A résolu
Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...
environ 9 ans il y a
A résolu
Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...
environ 9 ans il y a
A résolu
Back to basics 1 - Saving
Covering some basic topics I haven't seen elsewhere on Cody. Given an input variable 'x', save it to disk in a file named 'co...
environ 9 ans il y a
A résolu
Remove DC
Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component. Examp...
environ 9 ans il y a
A résolu
Increment a number, given its digits
Take as input an array of digits (e.g. x = [1 2 3]) and output an array of digits that is that number "incremented" properly, (i...
environ 9 ans il y a
A résolu
Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...
environ 9 ans il y a
A résolu
Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...
environ 9 ans il y a